Borderou de evaluare (job #859389)

Utilizator avatar kahoot Mocanu Clara kahoot IP ascuns
Problemă Mapat (clasa a 7-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 21 apr. 2026 16:53:24 Scor 0

Raport evaluator

Eroare de compilare: main.c:5:1: error: unknown type name 'using' 5 | using namespace std; | ^~~~~ main.c:5:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std' 5 | using namespace std; | ^~~ main.c: In function 'main': main.c:36:10: warning: unused variable 's' [-Wunused-variable] 36 | int l, s, rasp; | ^ main.c:42:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fscanf(fin, "%d%d%d%d", &n, &m, &q, &p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:46:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | fscanf(fin, "%d", &mat[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:54:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | fscanf(fin, "%d%d%lld", &l, &i, &mx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:64:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | fscanf(fin, "%d%d%lld%lld", &l, &i, &mn, &mx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~