QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#539251#7221. The Road Networkucup-team1005Compile Error//C++201.8kb2024-08-31 14:22:062024-08-31 14:22:06

Details

answer.code:51:3: error: invalid preprocessing directive #print
   51 | # print(f"lcnt = {lcnt}")
      |   ^~~~~
answer.code:55:7: error: invalid preprocessing directive #print
   55 |     # print(f"num = {num}")
      |       ^~~~~
answer.code:68:7: error: invalid preprocessing directive #print
   68 |     # print(f"lcnt = {lcnt}, lim = {lim}, now = {now}")
      |       ^~~~~
answer.code:1:1: error: ‘from’ does not name a type
    1 | from math import comb
      | ^~~~