Borderou de evaluare (job #1940462)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 26 martie 2017 17:01:14
Problema Perle Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf (fin, "%d", &v[j]); ^ user.cpp:12:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &n); ^ user.cpp:14:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &l); ^ user.cpp:16:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &v[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK!10
2Depăşit264kbTime limit exceeded.0
3Depăşit256kbTime limit exceeded.0
4Depăşit268kbTime limit exceeded.0
5Depăşit256kbTime limit exceeded.0
6Depăşit260kbTime limit exceeded.0
7Depăşit256kbTime limit exceeded.0
8Depăşit260kbTime limit exceeded.0
9Depăşit256kbTime limit exceeded.0
10Depăşit260kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?