Problem | rabbitmilk |
---|---|
User | foodaholic |
Submission Time | 2025-03-17 12:47:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rabbitmilk.cpp:5:2: error: invalid preprocessing directive #typedef
5 | #typedef long long ll;
| ^~~~~~~
rabbitmilk.cpp: In function ‘int main()’:
rabbitmilk.cpp:8:2: error: ‘ll’ was not declared in this scope; did you mean ‘all’?
8 | ll n;
| ^~
| all
rabbitmilk.cpp:9:7: error: ‘n’ was not declared in this scope
9 | cin>>n;
| ^
rabbitmilk.cpp:11:11: error: template argument 2 is invalid
11 | vector<ll> lst(n);
| ^
rabbitmilk.cpp:12:14: error: ‘begin’ was not declared in this scope; did you mean ‘std::begin’?
12 | for(auto&x: lst) cin>>x;
| ^~~
| std::begin
In file included from /usr/include/c++/9/string:54,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,