Borderou de evaluare (job #2378611)
Utilizator | Data | 12 martie 2019 14:44:53 | |
---|---|---|---|
Problema | Sormin | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:56:17: error: 'C' was not declared in this scope
S-=d[S]*C[S];
^
main.cpp:58:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
fprintf(OUT,"%d\n",out.size());
^
main.cpp:59:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<out.size();i++)
~^~~~~~~~~~~
main.cpp:38:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d",&N,&S);
^
main.cpp:42:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d",&x);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !