QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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) | ~~~~~^~~~~~~~~~~~~~