Borderou de evaluare (job #1822085)

Utilizator andrei_diaconu11Andrei C. Diaconu andrei_diaconu11 Data 4 decembrie 2016 11:10:02
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:15:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fo, "%d ", i); ^ user.cpp:16:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fo, "%d", nr); ^ user.cpp:19: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
128ms260kbWrong answer!0
228ms264kbWrong answer!0
328ms260kbWrong answer!0
428ms256kbWrong answer!0
532ms260kbWrong answer!0
632ms260kbWrong answer!0
728ms260kbWrong answer!0
828ms264kbWrong answer!0
932ms264kbWrong answer!0
1032ms264kbWrong answer!0
Punctaj total0

Ceva nu functioneaza?