Pagini recente » Borderou de evaluare (job #944427) | Borderou de evaluare (job #2566429) | Borderou de evaluare (job #413797) | Borderou de evaluare (job #1851824) | Borderou de evaluare (job #1559030)
Borderou de evaluare (job #1559030)
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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 2480kb | Incorect | 0 |
2 | 4ms | 1700kb | Incorect | 0 |
3 | 8ms | 1520kb | OK | 10 |
4 | 72ms | 15728kb | Incorect | 0 |
5 | 68ms | 15672kb | Incorect | 0 |
6 | 72ms | 15336kb | Incorect | 0 |
7 | 68ms | 14408kb | OK | 10 |
8 | 68ms | 15244kb | OK | 10 |
9 | 44ms | 9744kb | OK | 10 |
10 | 112ms | 14724kb | OK | 10 |
Punctaj total | 50 |