QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#451875 | #2810. Speedrun | egypt_ioi2024_12# | Compile Error | / | / | C++20 | 2.3kb | 2024-06-23 17:41:31 | 2024-06-23 17:41:31 |
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:88:41: error: too many arguments to function ‘int getParent()’ 88 | while(start!=1)start=getParent(start),goTo(start); | ^ speedrun.code:72:5: note: declared here 72 | int getParent(){ | ^~~~~~~~~ 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~