Pagini recente » Borderou de evaluare (job #2820759) | Borderou de evaluare (job #2544228) | Borderou de evaluare (job #1983735) | Borderou de evaluare (job #1177549) | Borderou de evaluare (job #1653777)
Borderou de evaluare (job #1653777)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:29: warning: unused variable ‘Min’ [-Wunused-variable]
int m, i, j, tip, x, y, Min=0, Max=-200000000;
^
user.cpp:17:36: warning: unused variable ‘Max’ [-Wunused-variable]
int m, i, j, tip, x, y, Min=0, Max=-200000000;
^
user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxq.in","r",stdin);
^
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxq.out","w",stdout);
^
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:21:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) {scanf("%d",&a[i]); sum[i]=sum[i-1]+a[i];}
^
user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:25:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&tip,&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 5 |
| 2 | 4ms | 284kb | Incorect | 0 |
| 3 | 8ms | 300kb | Incorect | 0 |
| 4 | 12ms | 312kb | Incorect | 0 |
| 5 | Depăşit | 980kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 1096kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 1212kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 1276kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1328kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1444kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 1092kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 1444kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 1448kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 1684kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 2500kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 2504kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 2500kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 2560kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 2608kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 2612kb | Time limit exceeded. | 0 |
| Punctaj total | 5 |