记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:2: error: 'amount' undeclared (first use in this function)
  amount = sys.stdin.readline().strip()
  ^~~~~~
/in/foo.c:5:2: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:5:11: error: 'sys' undeclared (first use in this function)
  amount = sys.stdin.readline().strip()
           ^~~
/in/foo.c:6:5: error: expected ';' before 'fee'
     fee=(amount-2000)*0.1
     ^~~

信息

递交者
类型
递交
题目
P1019 支付宝
语言
C
递交时间
2024-07-07 19:25:10
评测时间
2024-07-07 19:25:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes