| Problem | snowball |
|---|---|
| User | peepeepoop |
| Submission Time | 2026-01-21 12:13:46 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
snowball.cpp: In function ‘int main()’:
snowball.cpp:2:2: error: ‘ios’ has not been declared
2 | ios::sync_with_stdio(false);
| ^~~
snowball.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin.tie(nullptr);
| ^~~
snowball.cpp:9:2: error: ‘vector’ was not declared in this scope
9 | vector<long long> snowballs(N);
| ^~~~~~
snowball.cpp:9:9: error: expected primary-expression before ‘long’
9 | vector<long long> snowballs(N);
| ^~~~
snowball.cpp:11:10: error: ‘snowballs’ was not declared in this scope
11 | cin >> snowballs[i];
| ^~~~~~~~~
snowball.cpp:14:8: error: ‘snowballs’ was not declared in this scope
14 | sort (snowballs.begin(), snowballs.end(), [](auto &a, auto &b){
| ^~~~~~~~~
snowball.cpp:14:2: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
14 | sort (snowballs.begin(), snowballs