Pagini recente » Borderou de evaluare (job #2035858) | Borderou de evaluare (job #1374585) | Borderou de evaluare (job #370770) | Borderou de evaluare (job #531734) | Borderou de evaluare (job #1245789)
Borderou de evaluare (job #1245789)
Raport evaluator
Compilare:
user.cpp: In function ‘int aib_max(int)’:
user.cpp:23:12: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
if (n - (n&(n - 1) ^ n) == 0)
^
user.cpp:25:28: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
return max2(aib_max(n - (n&(n - 1) ^ n)), t[n]);
^
user.cpp: In function ‘void update(int, int)’:
user.cpp:32:30: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for (; x <= nmax - 1; x += x&(x - 1) ^ x)
^
user.cpp: In function ‘int main()’:
user.cpp:164:27: warning: variable ‘time_span’ set but not used [-Wunused-but-set-variable]
chrono::duration<double> time_span = chrono::duration_cast<chrono::duration<double>>(t2 - t1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 488kb | Corect! | 10 | 10 |
2 | 0ms | 528kb | Corect! | 10 | 10 |
3 | 0ms | 468kb | Corect! | 10 | 10 |
4 | 0ms | 476kb | Corect! | 10 | 10 |
5 | 0ms | 476kb | Corect! | 10 | 10 |
6 | 0ms | 492kb | Corect! | 10 | 10 |
7 | 0ms | 492kb | Corect! | 10 | 10 |
8 | 100ms | 2384kb | Corect! | 10 | 0 |
9 | Depăşit | 1640kb | Time limit exceeded. | 0 |
10 | 96ms | 2380kb | Corect! | 10 |
Punctaj total | 70 |