Pagini recente » Borderou de evaluare (job #182915) | Borderou de evaluare (job #804445) | Borderou de evaluare (job #318401) | Borderou de evaluare (job #2752319) | Borderou de evaluare (job #2455647)
Borderou de evaluare (job #2455647)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++)
^~~
main.cpp:23:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
log2n=lg[n];
^~~~~
main.cpp:29:41: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
if(dp[i][j-1]<dp[i+(1<<j-1)][j-1])
~^~
main.cpp:32:40: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
dp[i][j]=dp[i+(1<<j-1)][j-1];
~^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 5ms | 524kb | OK | 10 | 10 |
4 | 145ms | 4194kb | OK | 10 | 10 |
5 | 176ms | 4194kb | OK | 10 | 20 |
6 | 1135ms | 6946kb | OK | 10 |
7 | 1223ms | 8519kb | OK | 10 | 10 |
8 | 1300ms | 9961kb | Time limit exceeded | 0 | 0 |
9 | 1303ms | 9961kb | Time limit exceeded | 0 | 0 |
10 | 1305ms | 10276kb | Time limit exceeded | 0 | 0 |
Punctaj total | 70 |