Borderou de evaluare (job #1693143)

Utilizator stoianmihailStoian Mihail stoianmihail Data 22 aprilie 2016 14:56:33
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:120: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:109: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:111: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:113: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:118: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:120: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:125: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
20ms292kbOK5
30ms292kbOK5
40ms300kbOK5
50ms296kbOK5
620ms704kbOK5
716ms692kbOK5
832ms1344kbOK5
944ms1928kbOK10
1064ms2412kbOK10
11136ms3628kbOK10
12148ms3748kbOK10
13180ms4188kbOK10
14172ms4640kbOK10
Punctaj total100

Ceva nu functioneaza?