Borderou de evaluare (job #1822082)

Utilizator andrei_diaconu11Andrei C. Diaconu andrei_diaconu11 Data 4 decembrie 2016 11:04:15
Problema Farfurii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fi, "%d%d", &n, &k); ^ user.cpp:7:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:16:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fo, "%d ", i); ^ user.cpp:17:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fo, "%d", nr); ^ user.cpp:20:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fo, " %d", i); ^ user.cpp:7:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%d%d", &n, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
132ms256kbWrong answer!0
232ms256kbWrong answer!0
332ms256kbWrong answer!0
432ms256kbWrong answer!0
532ms260kbWrong answer!0
632ms252kbWrong answer!0
732ms256kbWrong answer!0
832ms256kbWrong answer!0
932ms252kbWrong answer!0
1036ms256kbWrong answer!0
Punctaj total0

Ceva nu functioneaza?