Problem candles
User CKCodeBreaker55
Submission Time 2024-11-09 16:05:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candles.cpp:15:1: error: expected unqualified-id before ‘for’
15 | for (int i = 0; i <= N - K; i++)
| ^~~
candles.cpp:15:17: error: ‘i’ does not name a type
15 | for (int i = 0; i <= N - K; i++)
| ^
candles.cpp:15:29: error: ‘i’ does not name a type
15 | for (int i = 0; i <= N - K; i++)
| ^
candles.cpp:23:1: error: ‘cout’ does not name a type
23 | cout << min_time << endl;
| ^~~~