Pagini recente » Borderou de evaluare (job #419735) | Borderou de evaluare (job #2389902) | Borderou de evaluare (job #420034) | Borderou de evaluare (job #762133) | Borderou de evaluare (job #1296818)
Borderou de evaluare (job #1296818)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:41: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
a[i][j]=max(a[i-1][j],a[i-1][j+(1<<i-1)]);
^
user.cpp:7:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in","r",stdin);
^
user.cpp:8:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out","w",stdout);
^
user.cpp:9:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:11:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[0][i]);
^
user.cpp:22:29: 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 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 336kb | OK | 10 |
| 3 | 660ms | 824kb | OK | 10 |
| 4 | 624ms | 336kb | OK | 10 |
| 5 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 40 |