Borderou de evaluare (job #1982517)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 19 mai 2017 09:21:56
Problema Costuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &n); ^ user.cpp:17:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &v[i].nr); ^ user.cpp:28:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &q); ^ user.cpp:30:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d%d", &p, &cost); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbOK10
20ms428kbOK10
30ms424kbKilled by signal 11(SIGSEGV).0
4Depăşit1180kbTime limit exceeded.0
5Depăşit1180kbTime limit exceeded.0
6Depăşit1180kbTime limit exceeded.0
7Depăşit1104kbTime limit exceeded.0
8Depăşit1184kbTime limit exceeded.0
9Depăşit1184kbTime limit exceeded.0
10Depăşit1180kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?