Borderou de evaluare (job #763178)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Trei Divizori (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 feb. 2024 15:13:06 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:26:29: error: invalid operands of types 'double' and 'double' to binary 'operator%'
26 | if(r%j==0 || r%(j+2)==0)
| ~^~
| | |
| | double
| double
main.cpp:26:39: error: invalid operands of types 'double' and 'double' to binary 'operator%'
26 | if(r%j==0 || r%(j+2)==0)
| ~^~~~~~
| | |
| | double
| double