Borderou de evaluare (job #3041516)

Utilizator PureIQNicolcea Gelu-Alexandru PureIQ Data 31 martie 2023 16:43:42
Problema Biscuiti Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void read()': main.cpp:14:5: error: 'scanf' was not declared in this scope 14 | scanf ("%lld",&N); | ^~~~~ main.cpp: In function 'void solve()': main.cpp:92:5: error: 'printf' was not declared in this scope 92 | printf ("%lld",nrt); | ^~~~~~ main.cpp:2:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? 1 | #include <algorithm> +++ |+#include <cstdio> 2 | using namespace std; main.cpp: In function 'int main()': main.cpp:97:32: error: 'stdin' was not declared in this scope 97 | freopen ("biscuiti.in","r",stdin); | ^~~~~ main.cpp:97:32: note: 'stdin' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? main.cpp:97:5: error: 'freopen' was not declared in this scope; did you mean 'free'? 97 | freopen ("biscuiti.in","r",stdin); | ^~~~~~~ | free main.cpp:98:33: error: 'stdout' was not declared in this scope 98 | freopen ("biscuiti.out","w",stdout); | ^~~~~~ main.cpp:98:33: note: 'stdout' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? Non zero exit status: 1

Ceva nu functioneaza?