Problem luckynumbers2
User CoconutNut100
Submission Time 2024-05-02 12:34:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

luckynumbers2.cpp: In function ‘int main()’:
luckynumbers2.cpp:31:39: error: expected primary-expression at end of input
31 | std::cout << "Unlucky" << std
| ^~~
luckynumbers2.cpp:31:39: error: expected ‘}’ at end of input
luckynumbers2.cpp:30:16: note: to match this ‘{’
30 | } else {
| ^
luckynumbers2.cpp:31:39: error: expected ‘}’ at end of input
31 | std::cout << "Unlucky" << std
| ^~~
luckynumbers2.cpp:27:27: note: to match this ‘{’
27 | for (int x : numbers) {
| ^
luckynumbers2.cpp:31:39: error: expected ‘}’ at end of input
31 | std::cout << "Unlucky" << std
| ^~~
luckynumbers2.cpp:18:12: note: to match this ‘{’
18 | int main() {
|