Problem sphinx
User justin271828
Submission Time 2026-09-18 10:56:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sphinx.cpp: In function ‘short int f(short int, short int, short int, short int)’:
sphinx.cpp:47:36: error: could not convert ‘vtemp’ from ‘vector<short int>’ to ‘vector<int>’
47 | carry = count-perform_experiment(vtemp);
| ^~~~~
| |
| vector<short int>
sphinx.cpp: In function ‘bool f2(short int, short int, short int, short int, bool)’:
sphinx.cpp:96:47: error: could not convert ‘vtemp’ from ‘vector<short int>’ to ‘vector<int>’
96 | if (repeat) carry = count-perform_experiment(vtemp);
| ^~~~~
| |
| vector<short int>
sphinx.cpp: In function ‘std::vector<int> find_colours(int32_t, std::vector<int>, std::vector<int>)’