Borderou de evaluare (job #3312407)

Utilizator AngeloCristianIndrei Angelo-Cristian AngeloCristian Data 27 septembrie 2025 22:48:34
Problema Suma Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:1: error: 'ifstream' does not name a type 4 | ifstream fin("suma.in"); | ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type 5 | ofstream fout("suma.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:13:5: error: 'fin' was not declared in this scope 13 | fin >> n >> p; | ^~~ main.cpp:20:5: error: 'fout' was not declared in this scope 20 | fout << s % p; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?