Borderou de evaluare (job #2231444)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 14 august 2018 13:57:56
Problema Stele Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf (fin, "%d", &t); ^ user.cpp:12:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf (fin, "%d", &n); ^ user.cpp:32:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf (fout, "%d\n", (phi - 2) / 2); ^ user.cpp:10:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &t); ^ user.cpp:12:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1312kbTime limit exceeded.0
2Depăşit1312kbTime limit exceeded.0
3Depăşit1320kbTime limit exceeded.0
4Depăşit1316kbTime limit exceeded.0
5Depăşit1316kbTime limit exceeded.0
6Depăşit1316kbTime limit exceeded.0
7Depăşit1312kbTime limit exceeded.0
8Depăşit1320kbTime limit exceeded.0
9Depăşit1312kbTime limit exceeded.0
10Depăşit1312kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?