Problem ducktransport
User Yifei1234
Submission Time 2023-04-03 16:50:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ducktransport.cpp:6:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin>>k>>n>>d;
| ^~~
| sin
ducktransport.cpp:7:1: error: expected unqualified-id before ‘for’
7 | for (int i=0; i<n;i++)
| ^~~
ducktransport.cpp:7:15: error: ‘i’ does not name a type
7 | for (int i=0; i<n;i++)
| ^
ducktransport.cpp:7:19: error: ‘i’ does not name a type
7 | for (int i=0; i<n;i++)
| ^