Borderou de evaluare (job #106969)

Utilizator avatar mihaix Radu Mihai Robert mihaix IP ascuns
Problemă Degrade Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 17 ian. 2015 13:53:19 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:14: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100002]’ [-Wformat] user.cpp:11:14: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100002]’ [-Wformat] user.cpp:14:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:7:5: warning: unused variable ‘poz’ [-Wunused-variable] user.cpp:7:28: warning: unused variable ‘j’ [-Wunused-variable] user.cpp:7:30: warning: variable ‘n’ set but not used [-Wunused-but-set-variable] user.cpp:7:40: warning: unused variable ‘contor’ [-Wunused-variable] user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:10:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:11:15: 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 420 kb OK 10
2 0 ms 428 kb OK 10
3 0 ms 424 kb OK 10
4 0 ms 436 kb OK 10
5 0 ms 456 kb OK 10
6 4 ms 472 kb OK 10
7 4 ms 500 kb OK 10
8 4 ms 512 kb OK 10
9 4 ms 516 kb OK 10
10 0 ms 420 kb OK 10
Punctaj total 100