Borderou de evaluare (job #219195)

Utilizator avatar AlexTheD Alexandru Donc AlexTheD IP ascuns
Problemă Litere (clasa a 7-a) Compilator cpp
Rundă runda1_pregatire_j7 Status evaluat
Dată 9 mar. 2016 06:44:27 Scor 100

Raport evaluator

Compilare: user.cpp:7:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] user.cpp: In function ‘int main()’: user.cpp:15:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:26:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:27:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:29:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:30:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:31:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:32:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:36:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:40:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:40:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:32:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:36: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 256 kb OK 10
2 0 ms 260 kb OK 10
3 0 ms 252 kb OK 10
4 0 ms 256 kb OK 10
5 0 ms 256 kb OK 10
6 0 ms 256 kb OK 10
7 0 ms 260 kb OK 10
8 0 ms 256 kb OK 10
9 4 ms 264 kb OK 10
10 4 ms 268 kb OK 10
Punctaj total 100