Borderou de evaluare (job #1268968)

Utilizator DanielRusuDaniel Rusu DanielRusu Data 21 noiembrie 2014 18:27:14
Problema Dtcsu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin, "%d", &Q); ^ user.cpp:32:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout, "%d\n", T); ^ user.cpp:16:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lld", &x); ^ user.cpp:22:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &Q); ^ user.cpp:25:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lld", &nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12436ms916kbIncorect0
23020ms920kbIncorect0
32748ms920kbIncorect0
41976ms916kbIncorect0
52520ms916kbIncorect0
Punctaj total0

Ceva nu functioneaza?