Pagini recente » Borderou de evaluare (job #1181723) | Borderou de evaluare (job #1796803) | Borderou de evaluare (job #3029621) | Borderou de evaluare (job #2057584) | Borderou de evaluare (job #2334554)
Borderou de evaluare (job #2334554)
Raport evaluator
Compilare:
main.cpp: In function 'int ctbin2(int, int)':
main.cpp:36:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int msk=1<<20;msk>0;msk=msk/2)
^~~
main.cpp:39:5: 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 ctbin(int, int, int)':
main.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp:12:13: warning: 'final1' may be used uninitialized in this function [-Wmaybe-uninitialized]
int pos=0,final1;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:57:34: warning: 'final1' may be used uninitialized in this function [-Wmaybe-uninitialized]
out<<ctbin(x,n,nrprobl)<<'\n';
^~~~
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 | 92ms | 655kb | OK | 10 |
7 | 125ms | 1048kb | OK | 10 | 40 |
8 | 120ms | 1048kb | OK | 10 |
9 | 115ms | 1048kb | OK | 10 |
10 | 135ms | 1048kb | OK | 10 |
Punctaj total | 100 |