Borderou de evaluare (job #3180750)

Utilizator CelestinNegraru Celestin Celestin Data 5 decembrie 2023 21:31:42
Problema Apm2 Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:16:5: error: 'FILE' does not name a type 16 | FILE *fin; | ^~~~ main.cpp:3:1: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? 2 | #include <algorithm> +++ |+#include <cstdio> 3 | #define nmax 10005 main.cpp: In member function 'char InParser::read_ch()': main.cpp:24:34: error: 'fin' was not declared in this scope 24 | fread(buff, 1, 4096, fin); | ^~~ main.cpp:24:13: error: 'fread' was not declared in this scope 24 | fread(buff, 1, 4096, fin); | ^~~~~ main.cpp: In constructor 'InParser::InParser(const char*)': main.cpp:31:9: error: 'fin' was not declared in this scope 31 | fin = fopen(nume, "r"); | ^~~ main.cpp:31:15: error: 'fopen' was not declared in this scope 31 | fin = fopen(nume, "r"); | ^~~~~ main.cpp:31:15: note: 'fopen' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? main.cpp: In member function 'InParser& InParser::operator>>(int&)': main.cpp:38:17: error: 'isdigit' was not declared in this scope 38 | while (!isdigit(c = read_ch()) && c != '-'); | ^~~~~~~ main.cpp:46:16: error: 'isdigit' was not declared in this scope 46 | while (isdigit(c = read_ch())) { | ^~~~~~~ main.cpp: In member function 'InParser& InParser::operator>>(long long int&)': main.cpp:56:17: error: 'isdigit' was not declared in this scope 56 | while (!isdigit(c = read_ch()) && c != '-'); | ^~~~~~~ main.cpp:64:16: error: 'isdigit' was not declared in this scope 64 | while (isdigit(c = read_ch())) { | ^~~~~~~ main.cpp: At global scope: main.cpp:73:5: error: 'FILE' does not name a type 73 | FILE *fout; | ^~~~ main.cpp:73:5: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? main.cpp: In member function 'void OutParser::write_ch(char)': main.cpp:79:36: error: 'fout' was not declared in this scope 79 | fwrite(buff, 1, 50000, fout); | ^~~~ main.cpp:79:13: error: 'fwrite' was not declared in this scope 79 | fwrite(buff, 1, 50000, fout); | ^~~~~~ main.cpp: In constructor 'OutParser::OutParser(const char*)': main.cpp:90:9: error: 'fout' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?