Borderou de evaluare (job #1992266)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 20 iunie 2017 00:08:44
Problema Motel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(fi,"%d %d " ,&l[i], &r[i]); ^ user.cpp:38:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:36:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&n); ^ user.cpp:38:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&l[i], &r[i]); ^ user.cpp:40:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&val); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms552kbOK10
20ms552kbOK10
30ms560kbOK10
40ms560kbOK10
50ms556kbOK10
60ms584kbOK10
7Depăşit10812kbTime limit exceeded.0
8Depăşit10020kbTime limit exceeded.0
9Depăşit9492kbTime limit exceeded.0
1028ms700kbOK10
Punctaj total70

Ceva nu functioneaza?