Problem | snakecode |
---|---|
User | ThePwo |
Submission Time | 2023-09-25 15:14:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
snakecode.cpp:34:14: error: no matching function for call to ‘F::F()’
34 | F d[500005][2];
| ^
snakecode.cpp:7:5: note: candidate: ‘F::F(int, int)’
7 | F(int num, int denom) : n(num), d(denom) {}
| ^
snakecode.cpp:7:5: note: candidate expects 2 arguments, 0 provided
snakecode.cpp:5:8: note: candidate: ‘constexpr F::F(const F&)’
5 | struct F {
| ^
snakecode.cpp:5:8: note: candidate expects 1 argument, 0 provided
snakecode.cpp:5:8: note: candidate: ‘constexpr F::F(F&&)’
snakecode.cpp:5:8: note: candidate expects 1 argument, 0 provided
snakecode.cpp: In function ‘void code(int, std::string*, int*)’:
snakecode.cpp:41:26: error: no match for ‘operator+’ (operand types are ‘F’ and ‘int’)
41 | d[i + 1][1] = d[i][1] + V[i];
| ~~~~~~~ ^ ~~~~
| | |
| F int
snakecode.cpp:9:7: note: c