QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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); | ~~~~~^~~~~~~~~~~~~~