Borderou de evaluare (job #369205)

Utilizator avatar Clelia Clelia - Maria Dobrescu Clelia IP ascuns
Problemă Cript (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 22 mar. 2018 17:21:24 Scor 65

Raport evaluator

Compilare: user.cpp: In function ‘int verificare()’: user.cpp:41:19: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp: In function ‘int bkt(int)’: user.cpp:86:1: warning: no return statement in function returning non-void [-Wreturn-type] user.cpp: In function ‘int main()’: user.cpp:92:10: warning: unused variable ‘aux’ [-Wunused-variable] user.cpp:89:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:90:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:93:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:94:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:96:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:121:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function ‘int verificare()’: user.cpp:50:5: warning: ‘lin’ may be used uninitialized in this function [-Wuninitialized] user.cpp: In function ‘int main()’: user.cpp:117:31: warning: ‘poz’ may be used uninitialized in this function [-Wuninitialized] /tmp/cc2RrIZw.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 28 ms 284 kb OK 5
2 68 ms 296 kb OK 5
3 0 ms 272 kb OK 5
4 84 ms 304 kb OK 5
5 72 ms 292 kb OK 5
6 0 ms 268 kb OK 5
7 0 ms 272 kb OK 5
8 0 ms 272 kb OK 5
9 0 ms 272 kb OK 5
10 depășit 360 kb Time limit exceeded. 0
11 depășit 352 kb Time limit exceeded. 0
12 depășit 360 kb Time limit exceeded. 0
13 depășit 492 kb Time limit exceeded. 0
14 depășit 528 kb Time limit exceeded. 0
15 depășit 492 kb Time limit exceeded. 0
16 8 ms 276 kb OK 5
17 8 ms 280 kb OK 5
18 depășit 448 kb Time limit exceeded. 0
19 28 ms 288 kb OK 5
20 28 ms 280 kb OK 5
Punctaj total 65