/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'long long unsigned int dp(int, int, int)':
/in/foo.cc:6:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (f[L][R]!=-1) return f[L][R];
      ~~~~~~~^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:13:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long unsigned int*' [-Wformat=]
  scanf("%d%d",&n,&m);
               ~~   ^
/in/foo.cc:13:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=]
/in/foo.cc:15:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=1;i<=m;i++)
               ~^~~
/in/foo.cc:18:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=1;i<=n;i++)
               ~^~~
/in/foo.cc:20:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j=1;j<=m;j++)
                ~^~~
/in/foo.cc:21:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long unsigned int*' [-Wformat=]
    scanf("%d",&num[j]);
               ~~~~~~~^
# 状态 耗时 内存占用
#1 Accepted 3ms 500.0 KiB
#2 Accepted 4ms 512.0 KiB
#3 Accepted 4ms 476.0 KiB
#4 Accepted 4ms 496.0 KiB
#5 Accepted 3ms 484.0 KiB
#6 Wrong Answer 3ms 512.0 KiB
#7 Wrong Answer 4ms 472.0 KiB
#8 Wrong Answer 8ms 512.0 KiB
#9 Wrong Answer 10ms 472.0 KiB
#10 Accepted 3ms 468.0 KiB

信息

递交者
类型
递交
题目
P1378 矩阵取数游戏
语言
C++
递交时间
2017-10-17 21:16:14
评测时间
2017-10-17 21:16:14
评测机
分数
60
总耗时
51ms
峰值内存
512.0 KiB