QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#257707#1957. Friendship GraphsZhangYiDeCompile Error//C++173.3kb2023-11-19 12:08:052023-11-19 12:08:05

详细

answer.code:22:5: error: ISO C++ forbids declaration of ‘egde’ with no type [-fpermissive]
   22 |     egde (const int& _u,const int& _v,const int& _c){
      |     ^~~~
answer.code: In member function ‘int edge::egde(const int&, const int&, const int&)’:
answer.code:24:5: warning: no return statement in function returning non-void [-Wreturn-type]
   24 |     }
      |     ^