Problem gift
User angei
Submission Time 2025-08-01 15:24:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gift.cpp: In function ‘int main()’:
gift.cpp:6:4: error: expected primary-expression before ‘if’
6 | (if t = t - k) {
| ^~
gift.cpp:6:4: error: expected ‘)’ before ‘if’
6 | (if t = t - k) {
| ~^~
| )
gift.cpp:10:2: error: expected ‘}’ at end of input
10 | }
| ^
gift.cpp:3:13: note: to match this ‘{’
3 | int main () {
| ^