Problem | snacks |
---|---|
User | Halud |
Submission Time | 2025-02-24 09:22:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
snacks.cpp:1:2: error: stray ‘#’ in program
1 | a#include <bits/stdc++.h>
| ^
snacks.cpp:1:1: error: ‘a’ does not name a type
1 | a#include <bits/stdc++.h>
| ^
snacks.cpp: In function ‘int main()’:
snacks.cpp:7:3: error: ‘ios_base’ has not been declared
7 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
snacks.cpp:8:3: error: ‘cin’ was not declared in this scope
8 | cin.tie(0);
| ^~~
snacks.cpp:12:3: error: ‘map’ was not declared in this scope
12 | map<int, int> mp;
| ^~~
snacks.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
snacks.cpp:12:7: note: in expansion of macro ‘int’
12 | map<int, int> mp;
| ^~~
snacks.cpp:16:5: error: ‘mp’ was not declared in this scope
16 | mp[x] += 1;
| ^~
snacks.cpp:22:3: error: ‘cout’ was not declared