Borderou de evaluare (job #1910174)

Utilizator tiberiu.bucur17Tiberiu Constantin Emanoil Bucur tiberiu.bucur17 Data 7 martie 2017 15:52:19
Problema Charlie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:57:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(fin,"%d\n",&val); ^ user.cpp:57:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d\n",&val); ^ user.cpp:58:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(sir,MAXN+2,fin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbOK5
20ms456kbOK5
30ms452kbOK5
40ms516kbOK5
50ms544kbOK5
60ms464kbOK5
70ms468kbOK5
80ms460kbOK5
90ms568kbOK5
100ms716kbOK5
114ms1324kbOK5
124ms1072kbOK5
134ms1248kbOK5
144ms1320kbOK5
150ms984kbOK5
160ms1156kbOK5
170ms1196kbOK5
184ms1324kbOK5
194ms1320kbOK5
200ms456kbOK5
Punctaj total100

Ceva nu functioneaza?