Problem iqtest2
User YSH2020
Submission Time 2025-05-30 07:45:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

iqtest2.cpp: In function ‘int main()’:
iqtest2.cpp:8:11: error: expected ‘(’ before ‘if’
8 | else if if (b%(a-1) == 0) cout << a-1 << '\n';
| ^~
| (
iqtest2.cpp:9:3: error: ‘else’ without a previous ‘if’
9 | else cout << 0 << '\n';
| ^~~~