| Problem | gemstones |
|---|---|
| User | ByeWorld |
| Submission Time | 2026-03-23 15:59:30 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
gemstones.cpp: In function ‘bool cmp(std::array<int, 3>, std::array<int, 3>)’:
gemstones.cpp:6:12: error: ‘struct std::array<int, 3>’ has no member named ‘first’
6 | #define fi first
| ^~~~~
gemstones.cpp:81:7: note: in expansion of macro ‘fi’
81 | if(a.fi.fi/SQRT == b.fi.fi/SQRT) return a.fi.se < b.fi.se;
| ^~
gemstones.cpp:6:12: error: ‘struct std::array<int, 3>’ has no member named ‘first’
6 | #define fi first
| ^~~~~
gemstones.cpp:81:23: note: in expansion of macro ‘fi’
81 | if(a.fi.fi/SQRT == b.fi.fi/SQRT) return a.fi.se < b.fi.se;
| ^~
gemstones.cpp:6:12: error: ‘struct std::array<int, 3>’ has no member named ‘first’
6 | #define fi first
| ^~~~~
gemstones.cpp:81:44: note: in expansion of macro ‘fi’
81 | if(a.fi.fi/SQRT == b.fi.fi/SQRT) return a.fi.se < b.fi.se;
|