Borderou de evaluare (job #2621709)
Utilizator | Data | 30 mai 2020 17:48:43 | |
---|---|---|---|
Problema | Nambartiori | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:16:1: error: 'vector' does not name a type
vector<int> p;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:58:13: error: 'p' was not declared in this scope
p.push_back(i);
^
main.cpp:92:21: error: 'p' was not declared in this scope
for(auto it:p){
^
main.cpp:118:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
fprintf(g,"%lld ",x);
^
main.cpp:65:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&t);
^
main.cpp:68:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&k);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !