QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#155658 | #6524. Final Defense Line | tangjz | Compile Error | / | / | C++14 | 3.5kb | 2023-09-01 23:25:59 | 2023-09-01 23:25:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
In file included from /usr/include/c++/11/cassert:44, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:33, from answer.code:1: answer.code: In function ‘int lcm(int, int)’: answer.code:17:20: error: ‘gcd’ was not declared in this scope 17 | assert((LL)x / gcd(x, y) * y < INT_MAX); | ^~~ answer.code: In function ‘int main()’: answer.code:21:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 21 | scanf("%d", &t); | ~~~~~^~~~~~~~~~ answer.code:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 24 | scanf("%d%d%d", x + i, y + i, r + i); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~