QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#572280 | #7775. 【模板】矩阵快速幂 | Derekshakk | Compile Error | / | / | C++17 | 7.6kb | 2024-09-18 13:27:13 | 2024-09-18 13:27:15 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:231:21: error: too few arguments to function ‘void computePaths(int, int)’ 231 | computePaths(); | ~~~~~~~~~~~~^~ answer.code:87:6: note: declared here 87 | void computePaths(int nodeCount, int edgeCount) { | ^~~~~~~~~~~~ answer.code: In function ‘void computePaths(int, int)’: answer.code:107:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 107 | scanf("%d %d %lld", &sourceNode[i], &destNode[i], &weights[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:229:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 229 | scanf("%*d\n%d", &testCases); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~