/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:22: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%ld%ld",&n,&m);
                      ^
/in/foo.cc:12:22: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:15:26: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[20]' [-Wformat=]
       scanf("%s%ld",&c,&t);
                          ^
/in/foo.cc:15:26: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:28:16: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%ld",s);
                ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 404.0 KiB
#2 Accepted 1ms 212.0 KiB
#3 Accepted 1ms 208.0 KiB
#4 Accepted 17ms 308.0 KiB
#5 Wrong Answer 16ms 308.0 KiB
#6 Accepted 16ms 312.0 KiB
#7 Wrong Answer 18ms 308.0 KiB
#8 Wrong Answer 20ms 312.0 KiB
#9 Wrong Answer 17ms 308.0 KiB
#10 Accepted 20ms 308.0 KiB

信息

递交者
类型
递交
题目
P1864 起床困难综合症
语言
C++
递交时间
2019-03-18 20:36:41
评测时间
2019-03-18 20:36:41
评测机
分数
50
总耗时
133ms
峰值内存
404.0 KiB