QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#522459#9136. Exponent Calculatorberarchegas#Compile Error//C++20198b2024-08-16 23:30:392024-08-16 23:30:40

Judging History

你现在查看的是最新测评结果

  • [2024-08-16 23:30:40]
  • 评测
  • [2024-08-16 23:30:39]
  • 提交

answer

print(24)

print("$2 = $0 + 0")
print("$1 = $0 + 0")

for i in range(2,9):
    print("$1 = $1 * $2")
    print("$1 = $1 * %.10lf" % (1/i))
    print("$0 = $1 + $0")

print("$0 = $0 + 1.0")

Details

answer.code:1:6: error: expected constructor, destructor, or type conversion before ‘(’ token
    1 | print(24)
      |      ^