QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#445967 | #2810. Speedrun | egypt_ioi2024_04# | Compile Error | / | / | C++20 | 2.9kb | 2024-06-16 18:07:34 | 2024-06-21 22:28:02 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
speedrun.code: In function ‘void speedrun(int, int, int)’: speedrun.code:109:28: error: array must be initialized with a brace-enclosed initializer 109 | int z=Nxt(),a[i+1]=z; | ^ grader_speedrun.cpp: In function ‘int readvalue()’: grader_speedrun.cpp:9:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 9 | fscanf(input, "%d", &val); | ~~~~~~^~~~~~~~~~~~~~~~~~~