记录详情

Accepted

/in/foo.cc: In function 'std::__cxx11::string convert(std::__cxx11::string, int)':
/in/foo.cc:14:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0; i*k<s.length(); i++){
                  ~~~^~~~~~~~~~~
/in/foo.cc:18:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=0; i*k<s.length(); i++){
                      ~~~^~~~~~~~~~~
/in/foo.cc:19:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(i*k+j<s.length())
                ~~~~~^~~~~~~~~~~
/in/foo.cc:21:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if((i+1)*k-j>=0&&(i+1)*k-j<s.length())
                              ~~~~~~~~~^~~~~~~~~~~
/in/foo.cc:25:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0; i*k+numRows-1<s.length(); i++){
                  ~~~~~~~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 308.0 KiB
#2 Accepted 3ms 308.0 KiB
#3 Accepted 1ms 332.0 KiB
#4 Accepted 2ms 332.0 KiB
#5 Accepted 2ms 332.0 KiB
#6 Accepted 2ms 336.0 KiB
#7 Accepted 1ms 332.0 KiB
#8 Accepted 2ms 332.0 KiB
#9 Accepted 2ms 332.0 KiB
#10 Accepted 1ms 332.0 KiB

信息

递交者
类型
递交
题目
xxyw1-4N字变换
语言
C++
递交时间
2019-03-14 19:01:18
评测时间
2019-03-14 19:01:18
评测机
分数
100
总耗时
22ms
峰值内存
336.0 KiB