Pagini recente » Profil UTCN_LittleEndian | Statistici Alex Iordachescu (Freque) | Borderou de evaluare (job #736) | sdistante | Borderou de evaluare (job #2240474)
Borderou de evaluare (job #2240474)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:85: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:85: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:89:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(vis[1 - tot & 1][i] && vis[1 - tot & 1][i + 1]) {
~~^~~~~
user.cpp:89:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(vis[1 - tot & 1][i] && vis[1 - tot & 1][i + 1]) {
~~^~~~~
user.cpp:90:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
cpy(a[tot & 1][i], a[1 - tot & 1][i]);
~~^~~~~
user.cpp:91:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
add(a[tot & 1][i], a[1 - tot & 1][i + 1]);
~~^~~~~
user.cpp:95:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(vis[1 - tot & 1][i]) {
~~^~~~~
user.cpp:96:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
cpy(a[tot & 1][i], a[1 - tot & 1][i]);
~~^~~~~
user.cpp:99:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(vis[1 - tot & 1][i + 1]) {
~~^~~~~
user.cpp:100:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
cpy(a[tot & 1][i], a[1 - tot & 1][i + 1]);
~~^~~~~
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 | 1340kb | OK | 5 |
| 2 | 0ms | 1348kb | OK | 5 |
| 3 | 0ms | 1368kb | OK | 5 |
| 4 | 4ms | 1360kb | OK | 5 |
| 5 | 4ms | 1380kb | OK | 5 |
| 6 | 0ms | 1404kb | OK | 5 |
| 7 | 4ms | 1492kb | OK | 5 |
| 8 | 0ms | 1464kb | OK | 5 |
| 9 | 4ms | 1592kb | OK | 5 |
| 10 | 8ms | 1680kb | OK | 5 |
| 11 | 8ms | 1640kb | OK | 5 |
| 12 | 12ms | 1768kb | OK | 5 |
| 13 | 68ms | 2104kb | OK | 5 |
| 14 | 144ms | 2360kb | OK | 5 |
| 15 | 400ms | 2772kb | OK | 5 |
| 16 | Depăşit | 3376kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 4072kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 4240kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 4372kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 4472kb | Time limit exceeded. | 0 |
| Punctaj total | 75 |