hihoCoder太阁最新面经算法竞赛7 register

Ended

Participants:100

Verdict:Wrong Answer
Score:0 / 100
Submitted:2016-07-09 19:59:24

Lang:G++

Edit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include<iostream>
#include<vector>
using namespace std;
vector<vector<int>> matrix;
int main(){
    int n;
    cin >> n;
    matrix = vector<vector<int>>(n, vector<int>(n, 0));
    
    cin >> n;
    string op;
    int x, y, x2, y2, value;
    for(int i=0;i<n;i++){
        cin >> op;
        if(op.compare("Add")){
            cin >> x >> y >> value;
            
        }
    }
    return 0;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX