Pagini recente » Borderou de evaluare (job #3119887) | Borderou de evaluare (job #1539456) | Cod sursa (job #980800) | Cod sursa (job #543782) | Borderou de evaluare (job #1526970)
Borderou de evaluare (job #1526970)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.in","r",stdin);
^
user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.out","w",stdout);
^
user.cpp:26: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:27:48: 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 |
| 1 | 0ms | 416kb | OK | 10 |
| 2 | 0ms | 428kb | OK | 10 |
| 3 | 0ms | 416kb | OK | 10 |
| 4 | 0ms | 416kb | OK | 10 |
| 5 | 0ms | 460kb | OK | 10 |
| 6 | 28ms | 812kb | OK | 10 |
| 7 | 16ms | 616kb | OK | 10 |
| 8 | 172ms | 2376kb | OK | 10 |
| 9 | 372ms | 4328kb | OK | 10 |
| 10 | 356ms | 4332kb | OK | 10 |
| Punctaj total | 100 |