QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#567050 | #7775. 【模板】矩阵快速幂 | gg_gong | Compile Error | / | / | C++20 | 5.9kb | 2024-09-16 05:45:05 | 2024-09-16 05:45:05 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:75:1: error: expected declaration before ‘}’ token 75 | } | ^ answer.code: In function ‘int main()’: answer.code:187:136: warning: narrowing conversion of ‘optimalcyc[i].std::pair<__int128, __int128>::second’ from ‘__int128’ to ‘long long int’ [-Wnarrowing] 187 | fract tmp={optimalcyc[i].first,-(__int128)(step+rec)*optimalcyc[i].first,optimalcyc[i].second}; | ~~~~~~~~~~~~~~^~~~~~ answer.code:119:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 119 | scanf("%s",k+1); | ~~~~~^~~~~~~~~~