Borderou de evaluare (job #2798539)

Utilizator YusyBossFares Yusuf YusyBoss Data 11 noiembrie 2021 15:23:59
Problema Ubuntzei Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int bfs(int, int)': main.cpp:35:13: warning: unused variable 'c' [-Wunused-variable] 35 | int i, n, c; | ^ main.cpp:56:1: warning: control reaches end of non-void function [-Wreturn-type] 56 | } | ^ main.cpp: In function 'int getnr()': main.cpp:70:18: warning: 'ch' is used uninitialized in this function [-Wuninitialized] 70 | while (!isdigit(ch)) | ~~~~~~~^~~~ main.cpp: In function 'int main()': main.cpp:70:18: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized] 70 | while (!isdigit(ch)) | ~~~~~~~^~~~ main.cpp:68:8: note: 'ch' was declared here 68 | char ch; | ^~ main.cpp:70:18: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized] 70 | while (!isdigit(ch)) | ~~~~~~~^~~~ main.cpp:68:8: note: 'ch' was declared here 68 | char ch; | ^~ main.cpp:70:18: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized] 70 | while (!isdigit(ch)) | ~~~~~~~^~~~ main.cpp:68:8: note: 'ch' was declared here 68 | char ch; | ^~ main.cpp:70:18: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized] 70 | while (!isdigit(ch)) | ~~~~~~~^~~~ main.cpp:68:8: note: 'ch' was declared here 68 | char ch; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK5
21ms184kbOK5
31ms184kbOK5
4302ms274kbTime limit exceeded0
51ms184kbOK5
61ms184kbOK5
711ms311kbOK5
814ms307kbOK5
9303ms307kbTime limit exceeded0
1013ms372kbOK5
1142ms581kbOK5
1242ms573kbOK5
13300ms307kbTime limit exceeded0
14177ms1404kbOK5
15301ms1523kbTime limit exceeded0
16305ms1732kbTime limit exceeded0
17302ms1400kbTime limit exceeded0
18300ms1290kbTime limit exceeded0
19300ms581kbTime limit exceeded0
201ms184kbOK5
Punctaj total60

Ceva nu functioneaza?