Problem cups
User Hengweezy
Submission Time 2024-01-31 16:34:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cups.cpp:2:2: error: invalid preprocessing directive #inclyde; did you mean #include?
2 | #inclyde <set>
| ^~~~~~~
| include
cups.cpp: In function ‘int main()’:
cups.cpp:8:2: error: ‘set’ was not declared in this scope
8 | set<int> cup;
| ^~~
cups.cpp:2:1: note: ‘std::set’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
1 | #include <iostream>
+++ |+#include <set>
2 | #inclyde <set>
cups.cpp:8:6: error: expected primary-expression before ‘int’
8 | set<int> cup;
| ^~~
cups.cpp:14:4: error: declaration of ‘auto value’ has no initializer
14 | auto value;
| ^~~~
cups.cpp:16:17: error: ‘cup’ was not declared in this scope
16 | auto lower = cup.find(value);
| ^~~
cups.cpp:26:4: error: declaration of ‘auto value’ has no initializer
26 | auto value;
|