Problem div3
User akyy1713
Submission Time 2025-06-18 10:48:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

div3.cpp: In function ‘int main()’:
div3.cpp:7:14: 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:11:1: error: expected ‘}’ at end of input
11 | }
| ^
div3.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^