Problem divideby2
User Red123
Submission Time 2025-08-20 21:09:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

divideby2.cpp: In function ‘int main()’:
divideby2.cpp:17:7: error: expected ‘;’ before ‘d’
17 | floor d = 0;
| ^~
| ;
divideby2.cpp:17:13: error: statement cannot resolve address of overloaded function
17 | floor d = 0;
| ^
divideby2.cpp:19:3: error: ‘d’ was not declared in this scope
19 | d = n / 2;
| ^