Borderou de evaluare (job #3143588)
Raport evaluator
Compilare:
main.cpp: In function 'int cb1(int)':
main.cpp:46:12: warning: 'sol' may be used uninitialized [-Wmaybe-uninitialized]
46 | return sol ;
| ^~~
main.cpp:35:19: note: 'sol' was declared here
35 | int s=1, d=N, sol, m=(s+d)/2;
| ^~~
main.cpp: In function 'int cb2(int)':
main.cpp:61:12: warning: 'sol' may be used uninitialized [-Wmaybe-uninitialized]
61 | return sol ;
| ^~~
main.cpp:50:19: note: 'sol' was declared here
50 | int s=1, d=N, sol, m=(s+d)/2;
| ^~~
main.cpp: In function 'int main()':
main.cpp:79:26: warning: 'sol' may be used uninitialized [-Wmaybe-uninitialized]
79 | cout << cb2(n) ;
| ^
main.cpp:50:19: note: 'sol' was declared here
50 | int s=1, d=N, sol, m=(s+d)/2;
| ^~~
main.cpp:77:26: warning: 'sol' may be used uninitialized [-Wmaybe-uninitialized]
77 | cout << cb1(n) ;
| ^
main.cpp:35:19: note: 'sol' was declared here
35 | int s=1, d=N, sol, m=(s+d)/2;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 10 | 10 |
2 | 0ms | 303kb | OK | 10 | 10 |
3 | 0ms | 303kb | OK | 10 | 10 |
4 | 1ms | 303kb | OK | 10 | 10 |
5 | 5ms | 557kb | OK | 10 | 20 |
6 | 14ms | 778kb | OK | 10 |
7 | 24ms | 1150kb | OK | 10 | 40 |
8 | 24ms | 1138kb | OK | 10 |
9 | 24ms | 1122kb | OK | 10 |
10 | 24ms | 1114kb | OK | 10 |
Punctaj total | 100 |