Borderou de evaluare (job #2435024)
Utilizator | Rapeanu George georgerapeanu | Data | 2 iulie 2019 20:08:32 |
---|---|---|---|
Problema | Obstacole | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve(int, int, int, int)':
main.cpp:137:5: error: 'vector' was not declared in this scope
vector<int> tmp(d - 1 - c - 1+ 1,0);
^~~~~~
main.cpp:137:12: error: expected primary-expression before 'int'
vector<int> tmp(d - 1 - c - 1+ 1,0);
^~~
main.cpp:139:9: error: 'tmp' was not declared in this scope
tmp[i - c - 1] = line_id[i];
^~~
main.cpp:144:22: error: 'tmp' was not declared in this scope
line_id[i] = tmp[i - c - 1];
^~~
main.cpp: In function 'bool cmp_combined(int, int)':
main.cpp:64:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:152:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&m);
^
main.cpp:155:78: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d %d",&segm[i].x,&segm[i].y,&segm[i].xx,&segm[i].yy);
^
main.cpp:171:46: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&x[i + n],&y[i + n]);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !