Problem | inspections |
---|---|
User | daniel |
Submission Time | 2025-04-18 00:10:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
inspections.cpp: In function ‘int main()’:
inspections.cpp:70:20: error: incomplete type ‘std::ios_base’ used in nested name specifier
70 | std::ios_base::sync_with_stdio(false);
| ^~~~~~~~~~~~~~~
inspections.cpp:71:10: error: ‘cin’ is not a member of ‘std’
71 | std::cin.tie(NULL);
| ^~~
inspections.cpp:4:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
3 | #include <algorithm> // For std::sort, std::unique, std::lower_bound, std::distance
+++ |+#include <iostream>
4 |
inspections.cpp:76:10: error: ‘cin’ is not a member of ‘std’
76 | std::cin >> n >> m >> q;
| ^~~
inspections.cpp:76:10: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
inspections.cpp:81:14: error: ‘cin’ is not a member of ‘std’
81 |