QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#300755#7185. Poor Studentsucup-team2880Compile Error//C++202.6kb2024-01-08 18:59:252024-01-08 18:59:26

詳細信息

answer.code: In member function ‘Node Heap::top()’:
answer.code:19:48: error: expected primary-expression before ‘{’ token
   19 |                 return s.size() ? *s.begin() : {0, inf};
      |                                                ^
answer.code:19:48: error: expected ‘;’ before ‘{’ token
answer.code:19:55: error: expected ‘;’ before ‘}’ token
   19 |                 return s.size() ? *s.begin() : {0, inf};
      |                                                       ^