记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    while (location < pre_path.size()) {
           ~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:20:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (; location < pre_path.size() && pre_path[location] != '.'; location++) path.push_back(pre_path[location]);
            ~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:21:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (location + 1 < pre_path.size() && pre_path[location + 1] == '.'){
         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if (location < pre_path.size() && pre_path[location] == '/') location++;
          ~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:28:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     else if(location<pre_path.size()) path.push_back(pre_path[location+1]);
             ~~~~~~~~^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 3ms 372.0 KiB
#3 Accepted 3ms 368.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB
#6 Accepted 3ms 256.0 KiB
#7 Accepted 3ms 256.0 KiB
#8 Accepted 3ms 340.0 KiB
#9 Accepted 3ms 372.0 KiB
#10 Accepted 3ms 364.0 KiB
#11 Accepted 1ms 272.0 KiB
#12 Accepted 1ms 372.0 KiB
#13 Accepted 2ms 360.0 KiB
#14 Accepted 3ms 256.0 KiB
#15 Accepted 3ms 368.0 KiB
#16 Accepted 2ms 336.0 KiB
#17 Accepted 1ms 344.0 KiB
#18 Accepted 1ms 352.0 KiB
#19 Accepted 3ms 344.0 KiB
#20 Accepted 1ms 384.0 KiB
#21 Accepted 1ms 328.0 KiB
#22 Accepted 1ms 256.0 KiB
#23 Accepted 2ms 256.0 KiB
#24 Accepted 2ms 384.0 KiB
#25 Accepted 1ms 328.0 KiB
#26 Accepted 1ms 344.0 KiB
#27 Accepted 2ms 332.0 KiB
#28 Accepted 3ms 256.0 KiB
#29 Accepted 3ms 256.0 KiB
#30 Accepted 1ms 332.0 KiB
#31 Accepted 2ms 256.0 KiB
#32 Accepted 1ms 336.0 KiB
#33 Accepted 1ms 384.0 KiB
#34 Accepted 1ms 256.0 KiB
#35 Accepted 1ms 352.0 KiB
#36 Accepted 3ms 256.0 KiB
#37 Accepted 2ms 256.0 KiB
#38 Accepted 3ms 256.0 KiB
#39 Accepted 1ms 376.0 KiB
#40 Accepted 2ms 340.0 KiB
#41 Accepted 1ms 384.0 KiB
#42 Accepted 3ms 256.0 KiB
#43 Accepted 1ms 256.0 KiB
#44 Accepted 1ms 344.0 KiB
#45 Accepted 3ms 324.0 KiB
#46 Accepted 2ms 256.0 KiB
#47 Accepted 3ms 256.0 KiB
#48 Accepted 2ms 340.0 KiB
#49 Accepted 1ms 380.0 KiB
#50 Accepted 3ms 344.0 KiB

信息

递交者
类型
递交
题目
Cd and pwd commands
语言
C++
递交时间
2017-06-28 23:22:50
评测时间
2017-06-28 23:22:50
评测机
分数
100
总耗时
121ms
峰值内存
384.0 KiB