Pagini recente » Borderou de evaluare (job #343565) | Borderou de evaluare (job #2868137) | Borderou de evaluare (job #193562) | Borderou de evaluare (job #2914323) | Borderou de evaluare (job #2240466)
Borderou de evaluare (job #2240466)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:86:26: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(max(vis[1 - tot & 1][i], vis[1 - tot & 1][i + 1]) == 0) {
~~^~~~~
user.cpp:86:47: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(max(vis[1 - tot & 1][i], vis[1 - tot & 1][i + 1]) == 0) {
~~^~~~~
user.cpp:90:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(vis[1 - tot & 1][i] && vis[1 - tot & 1][i + 1]) {
~~^~~~~
user.cpp:90:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(vis[1 - tot & 1][i] && vis[1 - tot & 1][i + 1]) {
~~^~~~~
user.cpp:91:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
a[tot & 1][i] = add(add(a[1 - tot & 1][i], a[1 - tot & 1][i + 1]), b);
~~^~~~~
user.cpp:91:64: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
a[tot & 1][i] = add(add(a[1 - tot & 1][i], a[1 - tot & 1][i + 1]), b);
~~^~~~~
user.cpp:94:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(vis[1 - tot & 1][i]) {
~~^~~~~
user.cpp:95:46: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
a[tot & 1][i] = multiply(a[1 - tot & 1][i], 2);
~~^~~~~
user.cpp:97:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(vis[1 - tot & 1][i + 1]) {
~~^~~~~
user.cpp:98:46: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
a[tot & 1][i] = multiply(a[1 - tot & 1][i + 1], 2);
~~^~~~~
user.cpp:72:9: warning: unused variable ‘lim’ [-Wunused-variable]
int lim = k - (n + 1) / 2;
^~~
user.cpp:71:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1368kb | OK | 5 |
2 | 0ms | 1368kb | OK | 5 |
3 | 0ms | 1364kb | OK | 5 |
4 | 0ms | 1368kb | OK | 5 |
5 | 0ms | 1372kb | OK | 5 |
6 | 0ms | 1368kb | OK | 5 |
7 | 0ms | 1372kb | OK | 5 |
8 | 0ms | 1372kb | OK | 5 |
9 | 8ms | 1376kb | OK | 5 |
10 | 16ms | 1380kb | OK | 5 |
11 | 12ms | 1384kb | OK | 5 |
12 | 28ms | 1396kb | OK | 5 |
13 | 136ms | 1452kb | OK | 5 |
14 | 284ms | 1472kb | OK | 5 |
15 | 748ms | 1488kb | OK | 5 |
16 | Depăşit | 1572kb | Time limit exceeded. | 0 |
17 | Depăşit | 1588kb | Time limit exceeded. | 0 |
18 | Depăşit | 1584kb | Time limit exceeded. | 0 |
19 | Depăşit | 1580kb | Time limit exceeded. | 0 |
20 | Depăşit | 1576kb | Time limit exceeded. | 0 |
Punctaj total | 75 |