Borderou de evaluare (job #2234432)

Utilizator stefzahZaharia Stefan Tudor stefzah Data 25 august 2018 17:44:17
Problema Design Status done
Runda Algoritmiada 2018 Runda Maraton Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:11:20: error: ‘ct0’ was not declared in this scope {if(s[i]=='0'){ct0++; ^~~ user.cpp:12:20: error: ‘dr0’ was not declared in this scope dr0[ct0-1]=i; ^~~ user.cpp:14:12: error: ‘ct1’ was not declared in this scope else {ct1++; ^~~ user.cpp:15:12: error: ‘dr1’ was not declared in this scope dr1[ct1-1]=i; ^~~ user.cpp:18:2: error: ‘p0’ was not declared in this scope p0=ct0;p1=ct1; ^~ user.cpp:18:5: error: ‘ct0’ was not declared in this scope p0=ct0;p1=ct1; ^~~ user.cpp:18:9: error: ‘p1’ was not declared in this scope p0=ct0;p1=ct1; ^~ user.cpp:18:12: error: ‘ct1’ was not declared in this scope p0=ct0;p1=ct1; ^~~ user.cpp:20:20: error: ‘st0’ was not declared in this scope {if(s[i]=='0'){st0[p1]=i; ^~~ user.cpp:23:12: error: ‘dr1’ was not declared in this scope else {dr1[ct1-1]=i; ^~~ user.cpp:27:11: error: ‘x’ was not declared in this scope {fin>>x>>y; ^ user.cpp:27:14: error: ‘y’ was not declared in this scope {fin>>x>>y; ^

Ceva nu functioneaza?