| Problem | mulgogi |
|---|---|
| User | MasterCoder8421 |
| Submission Time | 2025-12-09 23:13:34 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
mulgogi.cpp: In function ‘int main()’:
mulgogi.cpp:119:22: error: ‘make_tuple’ was not declared in this scope
119 | updates[i] = make_tuple(a, b, type);
| ^~~~~~~~~~
mulgogi.cpp:3:1: note: ‘std::make_tuple’ is defined in header ‘<tuple>’; did you forget to ‘#include <tuple>’?
2 | #include <iostream>
+++ |+#include <tuple>
3 | using namespace std;
mulgogi.cpp:125:5: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
125 | sort(indices.begin(), indices.end());
| ^~~~
| qsort
mulgogi.cpp:126:19: error: ‘unique’ was not declared in this scope
126 | indices.erase(unique(indices.begin(), indices.end()), indices.end());
| ^~~~~~
mulgogi.cpp:136:16: error: structured binding refers to incomplete type ‘std::tuple<long long int, long long int, long long int>’
136 | for (auto &[a, b, type]: updat