QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#869638#9678. 网友小 Z 的树DerrickLoCompile Error//C++141.1kb2025-01-25 12:18:552025-01-25 12:19:02

詳細信息

answer.code:6:11: error: expected unqualified-id before numeric constant
    6 | const int 1e9=1e9;
      |           ^~~
answer.code: In function ‘std::pair<long long int, long long int> find_diameter(long long int, long long int)’:
answer.code:39:1: warning: control reaches end of non-void function [-Wreturn-type]
   39 | }
      | ^