| Problem | carrots | 
|---|---|
| User | PlayVoltz | 
| Submission Time | 2023-09-19 12:15:34 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 carrots.cpp: In member function ‘bool customsort::operator()(std::pair<long long unsigned int, long long unsigned int>, std::pair<long long unsigned int, long long unsigned int>)’:
carrots.cpp:20:16: error: request for member ‘pieces’ in ‘carrot’, which is of non-class type ‘long long unsigned int’
   20 |   val = carrot.pieces;
      |                ^~~~~~
carrots.cpp:21:3: error: ‘valb’ was not declared in this scope; did you mean ‘vala’?
   21 |   valb = pieces*val*val+(carrot%pieces)*(2*val + 1);
      |   ^~~~
      |   vala