Borderou de evaluare (job #72518)

Utilizator avatar ionanghelina Ionut Anghelina ionanghelina IP ascuns
Problemă Comanda (clasa 5-6) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 8 iun. 2014 11:14:39 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:30:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:47:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 260 kb OK 10
2 0 ms 256 kb OK 10
3 0 ms 252 kb OK 10
4 0 ms 244 kb OK 10
5 0 ms 256 kb OK 10
6 0 ms 260 kb OK 10
7 0 ms 252 kb OK 10
8 0 ms 256 kb OK 10
9 0 ms 240 kb OK 10
10 0 ms 256 kb OK 10
Punctaj total 100