Borderou de evaluare (job #2800493)
Utilizator | Data | 13 noiembrie 2021 17:11:30 | |
---|---|---|---|
Problema | Recurenta | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void afis(vec*)':
main.cpp:39:5: error: 'printf' was not declared in this scope
39 | printf ( "%d" , A[A[0]] ) ;
| ^~~~~~
main.cpp:3:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
2 | # include <vector>
+++ |+#include <cstdio>
3 | using namespace std ;
main.cpp: In function 'int main()':
main.cpp:53:36: error: 'stdin' was not declared in this scope
53 | freopen ( "recurenta.in", "r", stdin ) ;
| ^~~~~
main.cpp:53:36: note: 'stdin' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
main.cpp:53:5: error: 'freopen' was not declared in this scope
53 | freopen ( "recurenta.in", "r", stdin ) ;
| ^~~~~~~
main.cpp:54:37: error: 'stdout' was not declared in this scope
54 | freopen ( "recurenta.out", "w", stdout ) ;
| ^~~~~~
main.cpp:54:37: note: 'stdout' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
main.cpp:56:5: error: 'scanf' was not declared in this scope
56 | scanf ( "%d %d", &N, &K ) ;
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !