Pagini recente » Borderou de evaluare (job #1980925) | Borderou de evaluare (job #2747338) | Borderou de evaluare (job #2422782) | Borderou de evaluare (job #3183006) | Borderou de evaluare (job #1559032)
Borderou de evaluare (job #1559032)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int, int, int, int, int, int)’:
user.cpp:20:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(vaz[i][j]) if(t2==1) daux[j]=max(daux[j],j+t1*t2*i);
^
user.cpp: In function ‘int main()’:
user.cpp:31:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("centru.in", "r", stdin);
^
user.cpp:32:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("centru.out", "w", stdout);
^
user.cpp:34:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:37:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);x++;y++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 2488kb | OK | 10 |
2 | 4ms | 1700kb | OK | 10 |
3 | 8ms | 1524kb | OK | 10 |
4 | 72ms | 15736kb | OK | 10 |
5 | 68ms | 15700kb | OK | 10 |
6 | 68ms | 15352kb | OK | 10 |
7 | 68ms | 14416kb | OK | 10 |
8 | 68ms | 15248kb | OK | 10 |
9 | 44ms | 9752kb | OK | 10 |
10 | 112ms | 14728kb | OK | 10 |
Punctaj total | 100 |