Pagini recente » Cod sursa (job #1437989) | Cuplaje | Inter | Diferente pentru problema/victorie intre reviziile 17 si 16 | Borderou de evaluare (job #2240463)
Borderou de evaluare (job #2240463)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:86:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(vis[1 - tot & 1][i] == 0 && vis[1 - tot & 1][i + 1] == 0) {
~~^~~~~
user.cpp:86:50: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(vis[1 - tot & 1][i] == 0 && 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 | 1364kb | OK | 5 |
| 3 | 0ms | 1364kb | OK | 5 |
| 4 | 0ms | 1368kb | OK | 5 |
| 5 | 0ms | 1368kb | OK | 5 |
| 6 | 0ms | 1368kb | OK | 5 |
| 7 | 4ms | 1372kb | OK | 5 |
| 8 | 0ms | 1372kb | OK | 5 |
| 9 | 12ms | 1380kb | OK | 5 |
| 10 | 24ms | 1380kb | OK | 5 |
| 11 | 16ms | 1384kb | OK | 5 |
| 12 | 40ms | 1392kb | OK | 5 |
| 13 | 196ms | 1440kb | OK | 5 |
| 14 | 392ms | 1468kb | OK | 5 |
| 15 | Depăşit | 1512kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1576kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1564kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1556kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1552kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1548kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |