/ Vijos /

记录详情

Accepted

foo.cc: In function 'void find()':
foo.cc:60:7: warning: 'minj' may be used uninitialized [-Wmaybe-uninitialized]
   60 | printf("%d %d %c\n",mini+1,minj+1,d[mink]);
      | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:45:15: note: 'minj' was declared here
   45 | int mink,mini,minj;
      |               ^~~~
foo.cc:60:7: warning: 'mini' may be used uninitialized [-Wmaybe-uninitialized]
   60 | printf("%d %d %c\n",mini+1,minj+1,d[mink]);
      | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:45:10: note: 'mini' was declared here
   45 | int mink,mini,minj;
      |          ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 328.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 13ms 416.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Accepted 5ms 412.0 KiB
#6 Accepted 4ms 412.0 KiB
#7 Accepted 4ms 412.0 KiB
#8 Accepted 12ms 332.0 KiB
#9 Accepted 7ms 412.0 KiB
#10 Accepted 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1707 单词查找
语言
C++
递交时间
2023-08-16 15:20:35
评测时间
2023-08-16 15:20:35
评测机
分数
100
总耗时
64ms
峰值内存
416.0 KiB