/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:5:17: warning: unused variable 't' [-Wunused-variable]
    5 |         int n,k,t,m,maxm,j;
      |                 ^
foo.cc:14:15: warning: 'maxm' may be used uninitialized [-Wmaybe-uninitialized]
   14 |         cout<<maxm;
      |               ^~~~
foo.cc:5:21: note: 'maxm' was declared here
    5 |         int n,k,t,m,maxm,j;
      |                     ^~~~
foo.cc:12:17: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized]
   12 |                 if (j>=k) maxm++;
      |                 ^~
foo.cc:5:26: note: 'j' was declared here
    5 |         int n,k,t,m,maxm,j;
      |                          ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 364.0 KiB
#2 Accepted 5ms 412.0 KiB
#3 Accepted 5ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Wrong Answer Read 70, expect 0. 3ms 412.0 KiB
#6 Wrong Answer Read 79, expect 0. 4ms 412.0 KiB
#7 Wrong Answer Read 0, expect 22. 3ms 348.0 KiB
#8 Wrong Answer Read 92, expect 0. 4ms 308.0 KiB
#9 Wrong Answer Read 0, expect 159. 5ms 412.0 KiB
#10 Accepted 4ms 332.0 KiB

信息

递交者
类型
递交
题目
P1021 Victoria的舞会1
语言
C++
递交时间
2023-08-09 13:43:27
评测时间
2023-08-09 13:43:27
评测机
分数
50
总耗时
45ms
峰值内存
412.0 KiB