Problem 3nplus1
User Rigiddivot251112
Submission Time 2026-06-22 16:04:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function β€˜int main()’:
3nplus1.cpp:5:9: error: expected primary-expression before β€˜=’ token
5 | if (n% = 0) {;
| ^
3nplus1.cpp:8:5: error: expression cannot be used as a function
8 | 3(n) + 1;
| ^