Problem fizzbuzz
User Nathaniel
Submission Time 2025-08-18 16:12:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp:4:5: error: cannot declare ‘::main’ to be a global variable
4 | int main {
| ^~~~
fizzbuzz.cpp:5:5: error: expected primary-expression before ‘int’
5 | int a,b,c
| ^~~
fizzbuzz.cpp:5:5: error: expected ‘}’ before ‘int’
fizzbuzz.cpp:4:10: note: to match this ‘{’
4 | int main {
| ^
fizzbuzz.cpp:24:1: error: expected declaration before ‘}’ token
24 | }
| ^