/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void work(int)':
/in/foo.cc:31:15: warning: unused variable 's' [-Wunused-variable]
   31 |     long long s=0; int num=1000000008;
      |               ^
/in/foo.cc:31:24: warning: unused variable 'num' [-Wunused-variable]
   31 |     long long s=0; int num=1000000008;
      |                        ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:123:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
  123 |      printf("%d\n%I64d\n",dp[l[1]][0][1],f[l[1]][0][1]);
      |                  ~~~~^                   ~~~~~~~~~~~~~
      |                      |                               |
      |                      int                             long long int
      |                  %I64lld
/in/foo.cc:126:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
  126 |       printf("%d\n%I64d\n",1+dp[l[1]][1][0],f[l[1]][1][0]);
      |                   ~~~~^                     ~~~~~~~~~~~~~
      |                       |                                 |
      |                       int                               long long int
      |                   %I64lld
/in/foo.cc:128:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
  128 |       printf("%d\n%I64d\n",1+dp[l[1]][1][0],(f[l[1]][0][1]+f[l[1]][1][0])%mo);
      |                   ~~~~^                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       |                                                  |
      |                       int                                                long long int
      |                   %I64lld
# 状态 耗时 内存占用
#1 Wrong Answer 5ms 4.98 MiB
#2 Wrong Answer 4ms 5.062 MiB
#3 Wrong Answer 4ms 4.969 MiB
#4 Wrong Answer 5ms 5.09 MiB
#5 Wrong Answer 5ms 4.984 MiB
#6 Wrong Answer 5ms 5.102 MiB
#7 Wrong Answer 5ms 5.133 MiB
#8 Wrong Answer 39ms 8.395 MiB
#9 Wrong Answer 35ms 8.031 MiB
#10 Wrong Answer 35ms 8.172 MiB

信息

递交者
类型
递交
题目
P1770 大内密探
语言
C++
递交时间
2025-06-14 16:00:52
评测时间
2025-06-14 16:00:52
评测机
分数
0
总耗时
146ms
峰值内存
8.395 MiB