QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#625418 | #5245. Chodzenie po linie [B] | dongyc666 | Compile Error | / | / | C++14 | 3.9kb | 2024-10-09 19:11:07 | 2024-10-09 19:11:08 |
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:168:85: error: expected primary-expression before ‘;’ token 168 | for(auto lcy:qbuc[i])ans[lcy.id]+=calc(lcy.x,n)-sum[from[lcy.id]+1],; | ^ answer.code:102:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 102 | freopen("permutation.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~