Pagini recente » Borderou de evaluare (job #1378720) | Borderou de evaluare (job #2346747) | Borderou de evaluare (job #2338869) | Borderou de evaluare (job #2779699) | Borderou de evaluare (job #3226680)
Borderou de evaluare (job #3226680)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:114:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
114 | for(int i=p1;i<=p2;i++)
| ^~~
main.cpp:116:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
116 | return 0;
| ^~~~~~
main.cpp:91:10: warning: unused variable 'in' [-Wunused-variable]
91 | int in=1;
| ^~
main.cpp:93:17: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized]
93 | int st=1,dr=cnt,p1,p2;
| ^~
main.cpp:114:15: warning: 'p2' may be used uninitialized [-Wmaybe-uninitialized]
114 | for(int i=p1;i<=p2;i++)
| ~^~~~
main.cpp:93:20: note: 'p2' was declared here
93 | int st=1,dr=cnt,p1,p2;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 144ms | 450kb | OK | 7 |
2 | 143ms | 450kb | OK | 7 |
3 | 144ms | 450kb | OK | 7 |
4 | 144ms | 450kb | OK | 7 |
5 | 144ms | 458kb | OK | 7 |
6 | 144ms | 454kb | OK | 7 |
7 | 144ms | 454kb | OK | 7 |
8 | 144ms | 458kb | OK | 7 |
9 | 144ms | 454kb | OK | 7 |
10 | 144ms | 450kb | OK | 7 |
11 | 143ms | 450kb | OK | 7 |
12 | 144ms | 450kb | OK | 7 |
13 | 144ms | 458kb | OK | 7 |
14 | 144ms | 454kb | OK | 7 |
Punctaj total | 100 |