/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:29:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::__cxx11::basic_string<char>::size_type {aka long unsigned int}' [-Wformat=]
  printf("%d",len + 1 - str.rfind(str.substr(1,j)));
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 117ms 3.754 MiB
#7 Accepted 30ms 5.555 MiB
#8 Accepted 43ms 5.453 MiB
#9 Accepted 181ms 5.668 MiB
#10 Accepted 290ms 5.633 MiB

信息

递交者
类型
递交
题目
P1677 陶陶的名字
语言
C++
递交时间
2021-10-11 21:50:17
评测时间
2021-10-11 21:50:17
评测机
分数
100
总耗时
674ms
峰值内存
5.668 MiB