Pagini recente » Borderou de evaluare (job #1900104) | Borderou de evaluare (job #1431111) | Borderou de evaluare (job #708001) | Cod sursa (job #1970750) | Borderou de evaluare (job #2080887)
Borderou de evaluare (job #2080887)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24: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:25: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:26:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &k);
^
user.cpp:27:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;i++) scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 252kb | OK | 10 | 10 |
2 | 32ms | 640kb | OK | 10 | 10 |
3 | 20ms | 528kb | OK | 10 | 10 |
4 | 28ms | 564kb | OK | 10 | 10 |
5 | 48ms | 840kb | OK | 10 | 10 |
6 | 864ms | 10016kb | OK | 10 | 10 |
7 | 812ms | 10016kb | OK | 10 | 10 |
8 | 872ms | 10020kb | OK | 10 | 30 |
9 | 924ms | 11188kb | OK | 10 |
10 | 1036ms | 11968kb | OK | 10 |
Punctaj total | 100 |