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