Borderou de evaluare (job #801330)

Utilizator avatar tteodora Tița Georgiana Teodora tteodora IP ascuns
Problemă Criptare (clasa a 10-a) Compilator cpp-32
Rundă cexgj_10_olimpiada_locala Status evaluat
Dată 28 dec. 2024 17:53:11 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:11:5: error: 'in' was not declared in this scope; did you mean 'yn'? 11 | in>>n>>x; | ^~ | yn main.cpp:18:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 18 | for(int j=1; j<x.length(); ++j) | ~^~~~~~~~~~~ main.cpp:19:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 19 | if(x[j]>y[j]) | ^ main.cpp:34:9: error: 'out' was not declared in this scope; did you mean 'cout'? 34 | out<<i.first<<" "<<i.second<<"\n"; | ^~~ | cout