记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:16: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
  scanf("%ld",&n);
                ^
/in/foo.cc:12:17: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
   scanf("%ld",&k);
                 ^
/in/foo.cc:27:16: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
  printf("%ld",s);
                ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 332.0 KiB
#2 Runtime Error 2ms 544.0 KiB

信息

递交者
类型
递交
题目
P1188 三相之力
语言
C++
递交时间
2023-05-20 09:59:31
评测时间
2023-05-20 09:59:31
评测机
分数
0
总耗时
4ms
峰值内存
544.0 KiB