Pagini recente » Borderou de evaluare (job #2422117) | Borderou de evaluare (job #2559286) | Borderou de evaluare (job #2754638) | Borderou de evaluare (job #342098) | Borderou de evaluare (job #2334504)
Borderou de evaluare (job #2334504)
Raport evaluator
Compilare:
main.cpp: In function 'int ct0bin(int, int)':
main.cpp:9:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int msk=1<<20;msk>0;msk/=2)
^~~
main.cpp:12:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if(v[pos]==val)
^~
main.cpp: In function 'int ct1bin(int, int)':
main.cpp:20:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int msk=1<<20;msk>0;msk/=2)
^~~
main.cpp:23:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if(v[pos]<=val)
^~
main.cpp: In function 'int ct2bin(int, int)':
main.cpp:29:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int msk=1<<20;msk>0;msk/=2)
^~~
main.cpp:32:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
while(v[pos]==val)
^~~~~
main.cpp: In function 'int ct1bin(int, int)':
main.cpp:25:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 3ms | 131kb | OK | 10 | 10 |
4 | 6ms | 131kb | OK | 10 | 10 |
5 | 27ms | 262kb | OK | 10 | 20 |
6 | 82ms | 655kb | OK | 10 |
7 | 126ms | 1048kb | OK | 10 | 40 |
8 | 130ms | 1048kb | OK | 10 |
9 | 116ms | 1048kb | OK | 10 |
10 | 130ms | 1048kb | OK | 10 |
Punctaj total | 100 |