记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:5:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d",&n);
          ^
/in/foo.c:7:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  printf("%d\n",s);
           ^
/in/foo.c:4:13: warning: unused variable 'i' [-Wunused-variable]
  long int n,i,s=0;
             ^
# 状态 耗时 内存占用
#1 Accepted 1ms 212.0 KiB
#2 Accepted 0ms 224.0 KiB
#3 Accepted 0ms 128.0 KiB
#4 Accepted 0ms 128.0 KiB
#5 Accepted 0ms 224.0 KiB
#6 Wrong Answer 0ms 128.0 KiB
#7 Accepted 0ms 128.0 KiB
#8 Wrong Answer 0ms 128.0 KiB
#9 Accepted 0ms 128.0 KiB
#10 Wrong Answer 0ms 128.0 KiB

信息

递交者
类型
递交
题目
P1151 黑皮的正方形
语言
C
递交时间
2021-01-26 15:52:14
评测时间
2021-01-26 15:52:14
评测机
分数
70
总耗时
7ms
峰值内存
224.0 KiB