Problem 7up
User cjcube
Submission Time 2023-11-08 10:22:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

7up.cpp:1:1: error: ‘include’ does not name a type
1 | include <iostream>
| ^~~~~~~
7up.cpp: In function ‘int main()’:
7up.cpp:15:2: error: ‘cin’ was not declared in this scope
15 | cin >> N >> K >> X;
| ^~~
7up.cpp:16:19: error: expected ‘;’ before ‘<’ token
16 | for (int i = 0, i < K, i++) {
| ^~
| ;
7up.cpp:16:20: error: expected primary-expression before ‘<’ token
16 | for (int i = 0, i < K, i++) {
| ^
7up.cpp:16:28: error: expected ‘;’ before ‘)’ token
16 | for (int i = 0, i < K, i++) {
| ^
| ;
7up.cpp:18:4: error: ‘cout’ was not declared in this scope
18 | cout << "UP!";
| ^~~~
7up.cpp:21:4: error: ‘cout’ was not declared in this scope
21 | cout << X;
| ^~~~