Pagini recente » Borderou de evaluare (job #1797851) | Borderou de evaluare (job #72036) | Borderou de evaluare (job #1481866) | Borderou de evaluare (job #1857184) | Borderou de evaluare (job #1642649)
Borderou de evaluare (job #1642649)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for(i=1;i<=n;i++) scanf("%d",&val[i]);
^
user.cpp:16:9: warning: unused variable ‘ok’ [-Wunused-variable]
int ok;
^
user.cpp:17:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,mini=-60000,poz;
^
user.cpp:18:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in","r",stdin);
^
user.cpp:19:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out","w",stdout);
^
user.cpp:20: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:21:42: 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",&val[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 4ms | 460kb | OK | 10 |
3 | 16ms | 560kb | OK | 10 |
4 | 20ms | 580kb | OK | 10 |
5 | 24ms | 620kb | OK | 10 |
6 | 28ms | 660kb | Incorect | 0 |
7 | 56ms | 824kb | OK | 10 |
8 | 84ms | 1012kb | Incorect | 0 |
9 | Depăşit | 1208kb | Time limit exceeded. | 0 |
10 | Depăşit | 1256kb | Time limit exceeded. | 0 |
Punctaj total | 60 |