Problem div3
User akyy1713
Submission Time 2025-06-18 09:47:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

div3.cpp: In function ‘int main()’:
div3.cpp:7:13: error: expected initializer before ‘%’ token
7 | if(int X%3 ==0){
| ^
div3.cpp:7:13: error: expected ‘)’ before ‘%’ token
7 | if(int X%3 ==0){
| ~ ^
| )
div3.cpp:12:1: error: expected ‘}’ at end of input
12 | }
| ^
div3.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^