Borderou de evaluare (job #763751)

Utilizator avatar ChihaiIon Chihai Ion ChihaiIon IP ascuns
Problemă Brățara (clasele 5/6) Compilator cpp-32
Rundă lasm_22_02_2024_clasa12 Status evaluat
Dată 22 feb. 2024 10:17:39 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: 'Bratara' does not name a type 1 | Bratara 100 pt | ^~~~~~~ In file included from main.cpp:4: /usr/include/ctype.h:81:14: error: '__int32_t' does not name a type; did you mean '__int128__'? 81 | extern const __int32_t **__ctype_tolower_loc (void) | ^~~~~~~~~ | __int128__ /usr/include/ctype.h:83:14: error: '__int32_t' does not name a type; did you mean '__int128__'? 83 | extern const __int32_t **__ctype_toupper_loc (void) | ^~~~~~~~~ | __int128__ /usr/include/ctype.h: In function 'int tolower(int)': /usr/include/ctype.h:209:39: error: '__ctype_tolower_loc' was not declared in this scope; did you mean '__ctype_b_loc'? 209 | return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; | ^~~~~~~~~~~~~~~~~~~ | __ctype_b_loc /usr/include/ctype.h: In function 'int toupper(int)': /usr/include/ctype.h:215:39: error: '__ctype_toupper_loc' was not declared in this scope; did you mean '__ctype_b_loc'? 215 | return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; | ^~~~~~~~~~~~~~~~~~~ | __ctype_b_loc main.cpp: At global scope: main.cpp:10:1: error: 'FILE' does not name a type 10 | FILE *fin, *fout; | ^~~~ main.cpp:5:1: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? 4 | #include <ctype.h> +++ |+#include <cstdio> 5 | main.cpp: In function 'char readChar()': main.cpp:16:29: error: 'fin' was not declared in this scope 16 | fread(rbuf, 1, BUFSIZE, fin); | ^~~ main.cpp:16:5: error: 'fread' was not declared in this scope; did you mean 'friend'? 16 | fread(rbuf, 1, BUFSIZE, fin); | ^~~~~ | friend main.cpp: In function 'int main()': main.cpp:37:3: error: 'fin' was not declared in this scope 37 | fin = fopen("bratara.in", "r"); | ^~~ main.cpp:37:9: error: 'fopen' was not declared in this scope 37 | fin = fopen("bratara.in", "r"); | ^~~~~ main.cpp:37:9: note: 'fopen' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? main.cpp:47:3: error: 'fclose' was not declared in this scope 47 | fclose(fin); | ^~~~~~ main.cpp:84:3: error: 'fout' was not declared in this scope