Borderou de evaluare (job #2449428)
Utilizator | Data | 19 august 2019 17:40:47 | |
---|---|---|---|
Problema | Picazo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:1: error: 'vector' does not name a type
vector <pair <int,int> > ev[DIMN];
^~~~~~
main.cpp: In function 'int main()':
main.cpp:74:9: error: 'ev' was not declared in this scope
ev[v[i].first].push_back(make_pair(v[i].second , -1));
^~
main.cpp:89:27: error: 'ev' was not declared in this scope
for ( j = 0 ; j < ev[i].size() ; j++ ){
^~
main.cpp:69:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d%d",&n,&k,&q);
^
main.cpp:71:53: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&v[i].first,&v[i].second);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !