Pagini recente » Cod sursa (job #359801) | Borderou de evaluare (job #1560826) | Borderou de evaluare (job #1567613) | Cod sursa (job #1164524) | Borderou de evaluare (job #2450588)
Borderou de evaluare (job #2450588)
Raport evaluator
Compilare:
main.cpp: In function 'void read()':
main.cpp:24:36: 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);
^
main.cpp:25:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &n, &k);
^
main.cpp:26:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=k; ++i) scanf("%lld", &v[i]);
^
main.cpp: In function 'void write()':
main.cpp:46:38: 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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 10 | 30 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 353ms | 131kb | Time limit exceeded | 0 | 0 |
| 5 | 351ms | 131kb | Time limit exceeded | 0 |
| 6 | 2ms | 131kb | OK | 10 |
| 7 | 3ms | 131kb | OK | 10 |
| 8 | 352ms | 131kb | Time limit exceeded | 0 |
| 9 | 351ms | 131kb | Time limit exceeded | 0 |
| 10 | 351ms | 131kb | Time limit exceeded | 0 |
| Punctaj total | 30 |