Borderou de evaluare (job #1822086)

Utilizator andrei_diaconu11Andrei C. Diaconu andrei_diaconu11 Data 4 decembrie 2016 11:11:11
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 unsigned 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 unsigned int*’ [-Wformat=] user.cpp:15:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned 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 unsigned 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 unsigned 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
1Depăşit260kbTime limit exceeded.0
2Depăşit260kbTime limit exceeded.0
3Depăşit260kbTime limit exceeded.0
4Depăşit260kbTime limit exceeded.0
5Depăşit252kbTime limit exceeded.0
6Depăşit256kbTime limit exceeded.0
7Depăşit256kbTime limit exceeded.0
8Depăşit256kbTime limit exceeded.0
9Depăşit256kbTime limit exceeded.0
10Depăşit256kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?