Problem snowball
User CKCodeBreaker55
Submission Time 2024-12-08 17:42:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snowball.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
snowball.cpp: In function ‘int main()’:
snowball.cpp:9:2: error: ‘vector’ was not declared in this scope
9 | vector<int> v;
| ^~~~~~
snowball.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
snowball.cpp:9:9: note: in expansion of macro ‘int’
9 | vector<int> v;
| ^~~
snowball.cpp:10:2: error: ‘cin’ was not declared in this scope
10 | cin >> N >> D;
| ^~~
snowball.cpp:15:3: error: ‘v’ was not declared in this scope
15 | v.push_back(S);
| ^
snowball.cpp:17:7: error: ‘v’ was not declared in this scope
17 | sort(v.begin(), v.end());
| ^
snowball.cpp:17:2: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
17 | sort(v.begin(), v.end());<