Borderou de evaluare (job #664983)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Miny (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 sept. 2022 19:31:32 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:36:20: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<'
36 | if(f[d]<min)
| ~~~~^~~~
main.cpp:37:24: error: overloaded function with no contextual type information
37 | min=f[p];
| ^
main.cpp:9:11: warning: unused variable 'a' [-Wunused-variable]
9 | int n,a,i,p=1,d=2,ci,y,z;
| ^
main.cpp:9:28: warning: unused variable 'z' [-Wunused-variable]
9 | int n,a,i,p=1,d=2,ci,y,z;
| ^