Borderou de evaluare (job #766303)

Utilizator avatar StanciuDaria Stanciu Daria Maria StanciuDaria IP ascuns
Problemă Cartonaș (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 4 mar. 2024 13:35:41 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:7:2: error: 'fin' was not declared in this scope 7 | fin>>C; | ^~~ main.cpp:7:7: error: 'C' was not declared in this scope 7 | fin>>C; | ^ main.cpp:10:11: error: 's1' was not declared in this scope 10 | fin>>s1>>s2; | ^~ main.cpp:10:15: error: 's2' was not declared in this scope 10 | fin>>s1>>s2; | ^~ main.cpp:11:10: error: 'i' was not declared in this scope 11 | for(i=2;i<=n;i++) | ^ main.cpp:11:17: error: 'n' was not declared in this scope 11 | for(i=2;i<=n;i++) | ^ main.cpp:13:19: error: 'd2' was not declared in this scope 13 | fin>>s2>>d2; | ^~ main.cpp:14:13: error: 'd1' was not declared in this scope 14 | if(d1==s2) p++; | ^~ main.cpp:14:22: error: 'p' was not declared in this scope 14 | if(d1==s2) p++; | ^ main.cpp:16:10: error: 'd1' was not declared in this scope 16 | d1=d2; | ^~ main.cpp:18:6: error: 'fout' was not declared in this scope 18 | fout<<p<<'\n'; | ^~~~ main.cpp:18:12: error: 'p' was not declared in this scope 18 | fout<<p<<'\n'; | ^ main.cpp:22:11: error: 's1' was not declared in this scope 22 | fin>>s1>>d1; nr=1; i1=1; | ^~ main.cpp:22:15: error: 'd1' was not declared in this scope 22 | fin>>s1>>d1; nr=1; i1=1; | ^~ main.cpp:22:19: error: 'nr' was not declared in this scope 22 | fin>>s1>>d1; nr=1; i1=1; | ^~ main.cpp:22:25: error: 'i1' was not declared in this scope 22 | fin>>s1>>d1; nr=1; i1=1; | ^~ main.cpp:23:10: error: 'i' was not declared in this scope