Nu aveti permisiuni pentru a descarca fisierul grader_test2.ok
Borderou de evaluare (job #2240466)
| Utilizator | Data | 13 septembrie 2018 15:47:29 | |
|---|---|---|---|
| Problema | Spoiler | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 75 | ||
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 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
