/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int ID(char)':
/in/foo.cc:15:13: warning: array subscript has type 'char' [-Wchar-subscripts]
   15 |     if (!id[ch])
      |             ^~
/in/foo.cc:16:12: warning: array subscript has type 'char' [-Wchar-subscripts]
   16 |         id[ch] = ++nc;
      |            ^~
/in/foo.cc:17:15: warning: array subscript has type 'char' [-Wchar-subscripts]
   17 |     return id[ch];
      |               ^~
/in/foo.cc: In function 'bool check()':
/in/foo.cc:33:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   33 |             for (int k = 0; k < lt[i][j].size(); k++)
      |                             ~~^~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 528.0 KiB
#2 Accepted 2ms 436.0 KiB
#3 Accepted 2ms 504.0 KiB
#4 Accepted 3ms 496.0 KiB
#5 Accepted 3ms 496.0 KiB
#6 Accepted 3ms 496.0 KiB
#7 Accepted 73ms 536.0 KiB
#8 Accepted 75ms 540.0 KiB
#9 Accepted 3ms 476.0 KiB
#10 Accepted 75ms 544.0 KiB

信息

递交者
类型
递交
题目
P1596 加法表
语言
C++
递交时间
2026-05-26 20:35:35
评测时间
2026-05-26 20:35:35
评测机
分数
100
总耗时
246ms
峰值内存
544.0 KiB