Pagini recente » Borderou de evaluare (job #3032361) | Borderou de evaluare (job #2257691) | Borderou de evaluare (job #995973) | Borderou de evaluare (job #1476587) | Borderou de evaluare (job #1884289)
Borderou de evaluare (job #1884289)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:15: warning: unused variable ‘x’ [-Wunused-variable]
int n,k,i,x;
^
user.cpp:23:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sdo.in","r",stdin);
^
user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sdo.out","w",stdout);
^
user.cpp:30: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:31:40: 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",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 584kb | OK | 10 | 10 |
2 | 28ms | 980kb | OK | 10 | 10 |
3 | 20ms | 860kb | OK | 10 | 10 |
4 | 20ms | 892kb | OK | 10 | 10 |
5 | 48ms | 1176kb | OK | 10 | 10 |
6 | 804ms | 10356kb | OK | 10 | 10 |
7 | 840ms | 10348kb | OK | 10 | 10 |
8 | 728ms | 10356kb | OK | 10 | 30 |
9 | 832ms | 11520kb | OK | 10 |
10 | 940ms | 12300kb | OK | 10 |
Punctaj total | 100 |