Borderou de evaluare (job #1693151)

Utilizator stoianmihailStoian Mihail stoianmihail Data 22 aprilie 2016 15:12:54
Problema Curent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:118:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=] fscanf(f, "%d %d %d", &event[i].day, &event[i].u, &event[i].task); ^ user.cpp:103:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("curent.out", "w", stdout); ^ user.cpp:106: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:108:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &u); ^ user.cpp:116:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &M); ^ user.cpp:118:70: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d", &event[i].day, &event[i].u, &event[i].task); ^ user.cpp:124:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &T); ^ user.cpp:128:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &day); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOK5
20ms288kbOK5
30ms296kbOK5
40ms288kbOK5
50ms292kbOK5
616ms664kbOK5
716ms652kbOK5
832ms1264kbOK5
944ms1776kbOK10
1060ms2120kbOK10
11136ms3192kbOK10
12148ms3256kbOK10
13180ms3548kbOK10
14176ms3964kbOK10
Punctaj total100

Ceva nu functioneaza?