QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#483148 | #7111. Press the Button | ZhangYiDe | Compile Error | / | / | C++11 | 957b | 2024-07-18 11:50:44 | 2024-07-18 11:50:44 |
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:29:29: error: ‘gcd’ was not declared in this scope 29 | long long l = 1LL * a / gcd(a, c) * c; | ^~~ answer.code:28:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 28 | scanf("%d%d%d%d%lld%lld", &a, &b, &c, &d, &v, &t); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:39:21: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 39 | int tcase; scanf("%d", &tcase); | ~~~~~^~~~~~~~~~~~~~