Borderou de evaluare (job #1789757)

Utilizator zurziczurzic zeljko zurzic Data 27 octombrie 2016 15:08:29
Problema Clasic Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(read, "%ld", &nr); ^ user.cpp:21:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(write, "%ld\n", s); ^ user.cpp:12:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(read, "%d", &t); ^ user.cpp:15:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(read, "%d", &n); ^ user.cpp:18:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(read, "%ld", &nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11920ms268kbOK100
Punctaj total100

Ceva nu functioneaza?