Pagini recente » Borderou de evaluare (job #1108434) | Borderou de evaluare (job #949997) | Borderou de evaluare (job #1192200) | Borderou de evaluare (job #393495) | Borderou de evaluare (job #1846914)
Borderou de evaluare (job #1846914)
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 | 280kb | Incorect | 0 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 12ms | 976kb | Incorect | 0 |
5 | 16ms | 976kb | Incorect | 0 |
6 | 24ms | 1220kb | Incorect | 0 |
7 | 24ms | 1220kb | Incorect | 0 |
8 | 32ms | 1436kb | Incorect | 0 |
9 | 32ms | 1440kb | Incorect | 0 |
10 | 28ms | 1440kb | OK | 10 |
Punctaj total | 10 |