Pagini recente » Borderou de evaluare (job #988268) | Borderou de evaluare (job #3117912) | Borderou de evaluare (job #2141349) | Borderou de evaluare (job #2784870) | Borderou de evaluare (job #2428298)
Borderou de evaluare (job #2428298)
Raport evaluator
Compilare:
main.cpp: In function 'void write()':
main.cpp:25:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::size_t {aka long unsigned int}' [-Wformat=]
printf("%d\n", (N + 1) / 2 - b.count());
^
main.cpp: In function 'void read()':
main.cpp:11:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ciur.in", "r", stdin);
^
main.cpp:12:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ciur.out", "w", stdout);
^
main.cpp:13:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 4ms | 131kb | OK | 10 |
| 4 | 8ms | 262kb | OK | 10 |
| 5 | 9ms | 323kb | OK | 10 |
| 6 | 10ms | 348kb | OK | 10 |
| 7 | 6ms | 262kb | OK | 10 |
| 8 | 13ms | 311kb | OK | 10 |
| 9 | 8ms | 393kb | OK | 10 |
| 10 | 14ms | 364kb | OK | 10 |
| Punctaj total | 100 |