/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:32:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   32 |     while (start < stk.size() && stk[start] == '0') {
      |            ~~~~~~^~~~~~~~~~~~
/in/foo.cc:36:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   36 |     if (start == stk.size()) {
      |         ~~~~~~^~~~~~~~~~~~~
/in/foo.cc:39:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   39 |         for (int i = start; i < stk.size(); i++) {
      |                             ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 504.0 KiB
#2 Accepted 1ms 532.0 KiB
#3 Accepted 1ms 532.0 KiB
#4 Accepted 1ms 524.0 KiB
#5 Accepted 1ms 340.0 KiB
#6 Accepted 1ms 524.0 KiB
#7 Accepted 1ms 348.0 KiB
#8 Accepted 1ms 544.0 KiB
#9 Accepted 1ms 532.0 KiB
#10 Accepted 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P1414 Dejected Birthday-盗窃
语言
C++
递交时间
2026-05-31 10:29:48
评测时间
2026-05-31 10:29:48
评测机
分数
100
总耗时
17ms
峰值内存
544.0 KiB