Borderou de evaluare (job #1515635)

Utilizator waskaalphaAlexandru Iercosan waskaalpha Data 1 noiembrie 2015 22:27:48
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main(int, char**)’: user.cpp:26:72: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(lpFile, "%ld %ld %ld", &type, &lpOp[i].param1, &lpOp[i].param2); ^ user.cpp:19:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(lpFile, "%ld %ld", &numOrders, &numOperations); ^ user.cpp:22:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(lpFile, "%ld", &lpOrder[i]); ^ user.cpp:26:73: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(lpFile, "%ld %ld %ld", &type, &lpOp[i].param1, &lpOp[i].param2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1492kbTime limit exceeded.0
2Depăşit1492kbTime limit exceeded.0
3Depăşit1492kbTime limit exceeded.0
4Depăşit1488kbTime limit exceeded.0
5Depăşit1492kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?