/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:18:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
   18 |         scanf_s("%d%d%d%d", &n, &m, &a, &b);
      |         ^~~~~~~
      |         scanf
foo.cc:33:19: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
   33 |         printf("%ld",f1[n + 1][m + 1]);
      |                 ~~^  ~~~~~~~~~~~~~~~~
      |                   |                 |
      |                   long int          long long int
      |                 %lld
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1121 马拦过河卒
语言
C++
递交时间
2023-08-13 16:24:15
评测时间
2023-08-13 16:24:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes