Borderou de evaluare (job #2173060)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 15 martie 2018 20:12:17
Problema Pluricex Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void back(long int)’: user.cpp:29:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf (fout, "%d ", st[i]); ^ user.cpp: In function ‘int main()’: user.cpp:44:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf (fin, "%d%d%d", &n, &K, &d); ^ user.cpp:44:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:44:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=] user.cpp:46:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf (fin, "%d", &x[i][0]); ^ user.cpp:48:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf (fin, "%d", &x[i][j]); ^ user.cpp:44:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d%d%d", &n, &K, &d); ^ user.cpp:46:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &x[i][0]); ^ user.cpp:48:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &x[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2968kbOK10
24ms2944kbOK10
34ms2684kbOK10
4Depăşit2884kbTime limit exceeded.0
54ms2796kbOK10
620ms2968kbOK10
74ms2640kbOK10
8Depăşit2696kbTime limit exceeded.0
948ms2800kbOK10
104ms2876kbOK10
Punctaj total80

Ceva nu functioneaza?