Problem lis_easy
User FailureJin
Submission Time 2026-03-09 15:25:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:5:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
5 | cin >> N;
| ^~~
| std::cin
In file included from lis_easy.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
lis_easy.cpp:6:2: error: ‘set’ was not declared in this scope
6 | set<long long> number;
| ^~~
lis_easy.cpp:6:2: note: suggested alternatives:
In file included from /usr/include/c++/9/set:61,
from lis_easy.cpp:2:
/usr/include/c++/9/bits/stl_set.h:94:11: note: ‘std::set’
94 | class set
| ^~~
In file included from lis_easy.cpp:2:
/usr/include/c++/9/set:82:13: note: ‘std::pmr::set’
82 | using set = std::set<_Key, _Cmp, polymorphic_allocator<_Key>>;
| ^~~