Borderou de evaluare (job #669296)

Utilizator avatar cezar123 Mihalcea Cezar Adrian cezar123 IP ascuns
Problemă Concurs (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 oct. 2022 18:01:03 Scor 0

Raport evaluator

Eroare de compilare: main.c:6:12: error: expected ';' before 'int32_t' 6 | int n_div_k | ^ | ; 7 | 8 | int32_t main() | ~~~~~~~ main.c: In function 'main': main.c:14:5: error: unknown type name 'string'; did you mean 'stdin'? 14 | string n = "1"; | ^~~~~~ | stdin main.c:14:16: warning: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion] 14 | string n = "1"; | ^~~ main.c:14:12: warning: unused variable 'n' [-Wunused-variable] 14 | string n = "1"; | ^ main.c:13:12: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | int k; fscanf(in, "%lld", &k); | ^~~~~~~~~~~~~~~~~~~~~~