/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void init(int (*)[23])':
/in/foo.cc:36:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   36 |                         while (tmp < a.size() && a[tmp] == a[tmp - 1]) ++tmp;
      |                                ~~~~^~~~~~~~~~
/in/foo.cc:37:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   37 |                         while (tmp < a.size()) {
      |                                ~~~~^~~~~~~~~~
/in/foo.cc:43:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   43 |                                 while (tmp < a.size() && a[tmp] == a[tmp - 1])
      |                                        ~~~~^~~~~~~~~~
/in/foo.cc:47:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   47 |                         if (tmp == a.size()) SG[i][j] = num;
      |                             ~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 16ms 572.0 KiB
#2 Accepted 15ms 568.0 KiB
#3 Accepted 15ms 572.0 KiB
#4 Accepted 15ms 576.0 KiB
#5 Accepted 35ms 584.0 KiB
#6 Accepted 51ms 584.0 KiB
#7 Accepted 66ms 572.0 KiB
#8 Accepted 32ms 576.0 KiB
#9 Accepted 49ms 580.0 KiB
#10 Accepted 66ms 576.0 KiB

信息

递交者
类型
递交
题目
P1993 硬币游戏
语言
C++
递交时间
2026-10-31 16:53:39
评测时间
2026-10-31 16:53:39
评测机
分数
100
总耗时
364ms
峰值内存
584.0 KiB