QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#570096#5145. Shortest PathDerekshakkCompile Error//C++175.1kb2024-09-17 13:47:552024-09-17 13:47:56

Details

answer.code:62:32: error: no matching function for call to ‘Line::Line()’
   62 | Line sortedPaths[MAX_NODES << 4];
      |                                ^
answer.code:53:9: note: candidate: ‘Line::Line(long long int, long long int, long long int, long long int)’
   53 |         Line(int x, int y, int k, int t) : startX(x), startY(y), slope(k), time(t) {}
      |         ^~~~
answer.code:53:9: note:   candidate expects 4 arguments, 0 provided
answer.code:48:8: note: candidate: ‘constexpr Line::Line(const Line&)’
   48 | struct Line
      |        ^~~~
answer.code:48:8: note:   candidate expects 1 argument, 0 provided
answer.code:48:8: note: candidate: ‘constexpr Line::Line(Line&&)’
answer.code:48:8: note:   candidate expects 1 argument, 0 provided