编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#584 #994. 小关的需求 Compile Error 0 0 ms 0 K C++ 17 / 109 B t330034059 2023-10-15 14:57:58
显示原始代码
R = input('输入:') import math V = 4 / 3 * math.pi* R** 3 V = round(V, 5) print(f '输出:{V}'

编译信息

/sandbox/1/a.cpp:1:11: warning: character constant too long for its type
    1 | R = input('输入:')
      |           ^~~~~~~~
/sandbox/1/a.cpp:5:10: warning: character constant too long for its type
    5 | print(f'输出:{V}')
      |         ^~~~~~~~~~~~~
/sandbox/1/a.cpp:1:1: error: 'R' does not name a type
    1 | R = input('输入:')
      | ^