/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:11: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:11:22: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:14: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:14:26: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:27: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 200.0 KiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Accepted 15ms 308.0 KiB
#5 Wrong Answer 15ms 308.0 KiB
#6 Accepted 16ms 312.0 KiB
#7 Wrong Answer 17ms 308.0 KiB
#8 Wrong Answer 19ms 308.0 KiB
#9 Wrong Answer 16ms 200.0 KiB
#10 Accepted 18ms 308.0 KiB

信息

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