记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:21:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < a.size()-1; i++)
                  ~~^~~~~~~~~~~~
/in/foo.cc:22:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = 0; j < a.size()-1 - i; j++)
                   ~~^~~~~~~~~~~~~~~~
/in/foo.cc:25:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 1; i < a.size() - 1; i++)
                  ~~^~~~~~~~~~~~~~
/in/foo.cc:29:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int j = i + 1; j <= a.size() - 1; j++)
                        ~~^~~~~~~~~~~~~~~
/in/foo.cc:36:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i <= a.size() - 6; i++)
                  ~~^~~~~~~~~~~~~~~
/in/foo.cc:39:7: warning: unused variable 'p' [-Wunused-variable]
   int p = 0;
       ^
# 状态 耗时 内存占用
#1 Accepted 2ms 324.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Accepted 2ms 336.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 2ms 332.0 KiB
#6 Accepted 1ms 224.0 KiB
#7 Accepted 1ms 220.0 KiB
#8 Accepted 2ms 340.0 KiB
#9 Accepted 2ms 336.0 KiB
#10 Accepted 1ms 224.0 KiB
#11 Accepted 1ms 216.0 KiB
#12 Accepted 1ms 224.0 KiB

信息

递交者
类型
递交
题目
P1252 B 出题
比赛
南京师范大学2021年6月程序设计竞赛(小兰赛)
语言
C++
递交时间
2021-06-02 15:10:09
评测时间
2021-06-02 15:10:09
评测机
分数
120
总耗时
25ms
峰值内存
340.0 KiB