/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool can(int)':
/in/foo.cc:8:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    8 |     if(a==0||a==s1.size()-1||s1[a]==s1[a-1]||s1[a]==s1[a+1])return 1;
      |              ~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 472.0 KiB
#2 Accepted 2ms 480.0 KiB
#3 Accepted 2ms 496.0 KiB
#4 Accepted 2ms 524.0 KiB
#5 Accepted 2ms 508.0 KiB
#6 Accepted 2ms 404.0 KiB
#7 Accepted 2ms 524.0 KiB
#8 Accepted 2ms 484.0 KiB
#9 Accepted 2ms 548.0 KiB
#10 Accepted 1ms 308.0 KiB

信息

递交者
类型
递交
题目
P1379 字符串的展开
语言
C++
递交时间
2026-01-16 20:25:26
评测时间
2026-01-16 20:25:26
评测机
分数
100
总耗时
21ms
峰值内存
548.0 KiB