Borderou de evaluare (job #1595927)

Utilizator stoianmihailStoian Mihail stoianmihail Data 10 februarie 2016 17:23:13
Problema Trans Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &N); ^ user.cpp:21:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &color, &price); ^ user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trans.out", "w", stdout); ^ user.cpp:27:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (fscanf(f, "%d", &M); M; M--) { ^ user.cpp:28:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &K, &T); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
20ms292kbOK10
312ms348kbOK10
440ms468kbOK10
5Depăşit416kbTime limit exceeded.0
6Depăşit428kbTime limit exceeded.0
7Depăşit448kbTime limit exceeded.0
8Depăşit472kbTime limit exceeded.0
9Depăşit476kbTime limit exceeded.0
10Depăşit444kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?