Borderou de evaluare (job #811652)

Utilizator avatar DeakDarius HackerPrime DeakDarius IP ascuns
Problemă Norocos (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 25 feb. 2025 19:20:39 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool iskLucky(long long int, long long int)': main.cpp:55:11: warning: unused variable 'p' [-Wunused-variable] 55 | long long p = 1 , d = 2 , cnt = 0 , cnt1 = 0 ; | ^ main.cpp: In function 'int main()': main.cpp:131:28: error: 'mx' was not declared in this scope; did you mean 'max'? 131 | if(mx<x) | ^~ | max main.cpp:135:32: error: 'mn' was not declared in this scope; did you mean 'min'? 135 | if(mn>x) | ^~ | min main.cpp:183:21: error: 'mn' was not declared in this scope; did you mean 'min'? 183 | cout<<mn<< ' '<<mx; | ^~ | min main.cpp:183:31: error: 'mx' was not declared in this scope; did you mean 'max'? 183 | cout<<mn<< ' '<<mx; | ^~ | max main.cpp:117:20: warning: unused variable 'min' [-Wunused-variable] 117 | int c , n , x , min = 2000000001 , max = -2000000001 , k , nr = 0 , cnt = 0 ; | ^~~ main.cpp:117:39: warning: unused variable 'max' [-Wunused-variable] 117 | int c , n , x , min = 2000000001 , max = -2000000001 , k , nr = 0 , cnt = 0 ; | ^~~