QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#488187 | #8726. Magic Show | Adorable | Compile Error | / | / | C++23 | 862b | 2024-07-23 17:48:45 | 2024-07-23 17:48:46 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Bob.code: In function ‘long long int Bob(std::vector<std::pair<int, int> >)’: Bob.code:8:18: error: ‘__gcd’ was not declared in this scope 8 | b *= y / __gcd(b, (__int128)y); | ^~~~~ Bob.code:8:18: note: suggested alternatives: In file included from /usr/include/c++/13/algorithm:61, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:51, from Bob.code:1: /usr/include/c++/13/bits/stl_algo.h:1185:5: note: ‘std::__gcd’ 1185 | __gcd(_EuclideanRingElement __m, _EuclideanRingElement __n) | ^~~~~ In file included from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:58: /usr/include/c++/13/numeric:120:5: note: ‘std::__detail::__gcd’ 120 | __gcd(_Tp __m, _Tp __n) | ^~~~~