Pagini recente » Borderou de evaluare (job #2898896) | Borderou de evaluare (job #2058507) | Borderou de evaluare (job #811184) | Borderou de evaluare (job #1689890) | Borderou de evaluare (job #1846915)
Borderou de evaluare (job #1846915)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",smax);
^
user.cpp:14:9: warning: unused variable ‘p’ [-Wunused-variable]
int p=0,pmax=0,pmin=0;
^
user.cpp:14:13: warning: variable ‘pmax’ set but not used [-Wunused-but-set-variable]
int p=0,pmax=0,pmin=0;
^
user.cpp:14:20: warning: variable ‘pmin’ set but not used [-Wunused-but-set-variable]
int p=0,pmax=0,pmin=0;
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perle2.in","r",stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perle2.out","w",stdout);
^
user.cpp:8: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:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK | 10 |
| 2 | 0ms | 288kb | OK | 10 |
| 3 | 0ms | 284kb | OK | 10 |
| 4 | 20ms | 972kb | OK | 10 |
| 5 | 24ms | 972kb | OK | 10 |
| 6 | 24ms | 1212kb | OK | 10 |
| 7 | 28ms | 1220kb | OK | 10 |
| 8 | 32ms | 1440kb | OK | 10 |
| 9 | 32ms | 1440kb | OK | 10 |
| 10 | 32ms | 1440kb | OK | 10 |
| Punctaj total | 100 |