/ Vijos /

记录详情

Accepted

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

信息

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