记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'double *' [-Wformat=]
  scanf("%d %d %d",&a,&m,&k);
          ^
/in/foo.c:6:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'double *' [-Wformat=]
  scanf("%d %d %d",&a,&m,&k);
             ^
/in/foo.c:6:16: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'double *' [-Wformat=]
  scanf("%d %d %d",&a,&m,&k);
                ^
/in/foo.c:9:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  }else{n=(a/20-m)*k;printf("%d",n);
                              ^
# 状态 耗时 内存占用
#1 Accepted 1ms 272.0 KiB
#2 Wrong Answer 1ms 248.0 KiB
#3 Wrong Answer 0ms 208.0 KiB
#4 Wrong Answer 0ms 212.0 KiB
#5 Accepted 0ms 252.0 KiB

信息

递交者
类型
递交
题目
P1085 xf1-8交电费
比赛
2023 程序设计与竞赛(作业1:见面赛)
语言
C
递交时间
2023-09-16 21:02:37
评测时间
2023-09-16 21:06:48
评测机
分数
40
总耗时
4ms
峰值内存
272.0 KiB