QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#310593 | #5419. Triangles | GuanYunchang | Compile Error | / | / | C++14 | 1.7kb | 2024-01-21 15:55:49 | 2024-01-21 15:55:49 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve(int (*)[6], int, int)’: answer.code:40:49: warning: narrowing conversion of ‘((double)(*(A + (sizetype)((long unsigned int)i * 24)))[j] * 5.0e+7)’ from ‘double’ to ‘std::vector<int>::value_type’ {aka ‘int’} [-Wnarrowing] 40 | for(int j=0;j<6;j++)x.push_back({A[i][j]*5e7}); | ~~~~~~~^~~~ answer.code: In function ‘int main()’: answer.code:68:5: error: ‘else’ without a previous ‘if’ 68 | else solve(C,10,n); | ^~~~ answer.code:63:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 63 | scanf("%d",&n); | ~~~~~^~~~~~~~~