QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#59788 | #2832. Graph Theory | GuanYunchang | Compile Error | / | / | C++17 | 1.4kb | 2022-11-01 14:31:22 | 2022-11-01 14:31:24 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘void solve()’: answer.code:26:52: error: expected ‘;’ before ‘if’ 26 | int a,b;scanf("%d%d",&a,&b) | ^ | ; 27 | if(a<b)swap(a,b); | ~~ answer.code:26:38: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 26 | int a,b;scanf("%d%d",&a,&b) | ~~~~~^~~~~~~~~~~~~~