Problem dayum
User niicoletong
Submission Time 2025-06-20 13:30:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dayum.cpp: In function ‘int main()’:
dayum.cpp:9:7: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Key, class _Compare, class _Alloc> class std::set’
9 | set<n> s = {'16', '17', '18', '19', '20'};
| ^
dayum.cpp:9:7: note: expected a type, got ‘n’
dayum.cpp:9:7: error: template argument 2 is invalid
dayum.cpp:9:7: error: template argument 3 is invalid
dayum.cpp:9:9: error: scalar object ‘s’ requires one element in initializer
9 | set<n> s = {'16', '17', '18', '19', '20'};
| ^