Pagini recente » Borderou de evaluare (job #1065877) | Borderou de evaluare (job #545519) | Borderou de evaluare (job #1352184) | Borderou de evaluare (job #2373647) | Borderou de evaluare (job #1280132)
Borderou de evaluare (job #1280132)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4:22: warning: variable ‘pozi’ set but not used [-Wunused-but-set-variable]
int n,k,i,sc,max,pozi;
^
user.cpp:5: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:6: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:7: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:9: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 | 248kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 248kb | OK | 10 |
4 | 16ms | 484kb | OK | 10 |
5 | 16ms | 484kb | OK | 10 |
6 | 20ms | 564kb | OK | 10 |
7 | 20ms | 556kb | OK | 10 |
8 | 24ms | 636kb | OK | 10 |
9 | 28ms | 640kb | OK | 10 |
10 | 20ms | 640kb | OK | 10 |
Punctaj total | 100 |