Borderou de evaluare (job #816484)

Utilizator avatar DeakDarius HackerPrime DeakDarius IP ascuns
Problemă Aur (Clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 27 mar. 2025 17:46:58 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void Init(long long int&, std::string&)': main.cpp:25:9: error: 'reverse' was not declared in this scope 25 | reverse(aux.begin(),aux.end()); | ^~~~~~~ main.cpp: In function 'long long int FormNr(std::string, int)': main.cpp:40:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 40 | if(mx<R) | ^~ main.cpp:42:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 42 | R = 0 ; | ^ main.cpp: In function 'int main()': main.cpp:53:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 53 | if(c==2) | ^~ main.cpp:55:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 55 | if(c==3) | ^~ main.cpp:49:17: warning: unused variable 's' [-Wunused-variable] 49 | int c , n , s = 0 , cnt = 0 , k , elem , p ; | ^ main.cpp:49:25: warning: unused variable 'cnt' [-Wunused-variable] 49 | int c , n , s = 0 , cnt = 0 , k , elem , p ; | ^~~ main.cpp:49:39: warning: unused variable 'elem' [-Wunused-variable] 49 | int c , n , s = 0 , cnt = 0 , k , elem , p ; | ^~~~