Pagini recente » Cod sursa (job #89337) | garaj | Probleme cu secvențe | Cod sursa (job #142147) | Borderou de evaluare (job #1514086)
Borderou de evaluare (job #1514086)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expectedpos.in", "r", stdin);
^
user.cpp:22:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expectedpos.out", "w", stdout);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:30:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[n++]);
^
user.cpp:39:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:41:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 92ms | 256kb | OK | 10 |
| 4 | 104ms | 264kb | OK | 10 |
| 5 | 92ms | 272kb | OK | 10 |
| 6 | 108ms | 280kb | OK | 10 |
| 7 | 108ms | 296kb | OK | 10 |
| 8 | 148ms | 596kb | OK | 10 |
| 9 | 152ms | 640kb | OK | 10 |
| 10 | 156ms | 640kb | OK | 10 |
| Punctaj total | 100 |