Problem | weddingcoins |
---|---|
User | Pushkaltoocool |
Submission Time | 2023-07-06 16:59:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:6:16: error: found ‘:’ in nested-name-specifier, expected ‘::’
6 | long long n:
| ^
| ::
weddingcoins.cpp:6:15: error: ‘n’ has not been declared
6 | long long n:
| ^
weddingcoins.cpp:7:8: error: qualified-id in declaration before ‘>>’ token
7 | cin>>n;
| ^~
weddingcoins.cpp:11:13: error: ‘n’ was not declared in this scope
11 | while (n>0){
| ^
weddingcoins.cpp: At global scope:
weddingcoins.cpp:18:5: error: ‘cout’ does not name a type
18 | cout<<counter;
| ^~~~