Borderou de evaluare (job #3377851)

Utilizator georgiemanea georege caharisitan georgie Data 24 noiembrie 2026 15:28:54
Problema Qxy Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void query(int, int)': main.cpp:23:12: error: return-statement with a value, in function returning 'void' [-fpermissive] 23 | return s; | ^ main.cpp: In function 'int main()': main.cpp:42:28: error: invalid operands of types 'void' and 'void' to binary 'operator-' 42 | s+=query(k, b) - query(k, a-1); | ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ | | | | void void Non zero exit status: 1

Ceva nu functioneaza?