Pagini recente » Cod sursa (job #2016186) | Borderou de evaluare (job #63965) | Cod sursa (job #282801) | Monitorul de evaluare | Borderou de evaluare (job #1545630)
Borderou de evaluare (job #1545630)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suman.in","r",stdin);
^
user.cpp:59:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suman.out","w",stdout);
^
user.cpp:63:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:64:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:65:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=k;i++) scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 472kb | OK | 10 | 30 |
| 2 | 0ms | 468kb | OK | 10 |
| 3 | 0ms | 476kb | OK | 10 |
| 4 | 168ms | 472kb | OK | 10 | 0 |
| 5 | 268ms | 476kb | OK | 10 |
| 6 | 0ms | 468kb | OK | 10 |
| 7 | 0ms | 476kb | OK | 10 |
| 8 | 316ms | 472kb | OK | 10 |
| 9 | Depăşit | 452kb | Time limit exceeded. | 0 |
| 10 | 156ms | 472kb | OK | 10 |
| Punctaj total | 30 |