Borderou de evaluare (job #3316706)

Utilizator razvan3107Ana Razvan-Ioan razvan3107 Data 20 octombrie 2025 09:52:40
Problema Subsir 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 f("subsir.in"); | ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type 5 | ofstream g("subsir.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:10:1: error: 'f' was not declared in this scope 10 | f>>(s,500); | ^ main.cpp:10:5: warning: left operand of comma operator has no effect [-Wunused-value] 10 | f>>(s,500); | ^ main.cpp:11:5: error: expected primary-expression before ')' token 11 | f>>(); | ^ main.cpp:12:5: warning: left operand of comma operator has no effect [-Wunused-value] 12 | f>>(t,500); | ^ main.cpp:13:5: error: expected primary-expression before ')' token 13 | f>>(); | ^ main.cpp:30:1: error: 'g' was not declared in this scope 30 | g<<q%666013; | ^ main.cpp:9:11: warning: unused variable 'p' [-Wunused-variable] 9 | int i,q,j,p,max,r;max=0;q=0; | ^ Non zero exit status: 1

Ceva nu functioneaza?