Borderou de evaluare (job #3364880)
| Utilizator | Data | 12 septembrie 2026 18:14:05 | |
|---|---|---|---|
| Problema | Overdrive | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:32:12: error: too few arguments to function 'FILE* freopen(const char*, const char*, FILE*)'
32 | freopen("overdrive.in");
| ~~~~~~~^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/12.2.1/cstdio:42,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:46,
from main.cpp:1:
/usr/include/stdio.h:265:14: note: declared here
265 | extern FILE *freopen (const char *__restrict __filename,
| ^~~~~~~
main.cpp:33:12: error: too few arguments to function 'FILE* freopen(const char*, const char*, FILE*)'
33 | freopen("overdrive.out");
| ~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/stdio.h:265:14: note: declared here
265 | extern FILE *freopen (const char *__restrict __filename,
| ^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
