/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define For(i,j,k) for(int i=j;i<=k;i++)
                                  
/in/foo.cc:28:6:
  For(i,2,s.length()-2)
      ~~~~~~~~~~~~~~~~            
/in/foo.cc:28:2: note: in expansion of macro 'For'
  For(i,2,s.length()-2)
  ^~~
/in/foo.cc:14:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define For(i,j,k) for(int i=j;i<=k;i++)
                                  
/in/foo.cc:37:6:
  For(i,bj+1,s.length()-2)
      ~~~~~~~~~~~~~~~~~~~         
/in/foo.cc:37:2: note: in expansion of macro 'For'
  For(i,bj+1,s.length()-2)
  ^~~
/in/foo.cc:27:6: warning: unused variable 'len' [-Wunused-variable]
  int len=s.length();
      ^~~
# 状态 耗时 内存占用
#1 Accepted 4ms 4.586 MiB
#2 Accepted 5ms 4.375 MiB
#3 Accepted 5ms 8.5 MiB
#4 Accepted 6ms 8.496 MiB
#5 Accepted 4ms 4.496 MiB
#6 Accepted 6ms 8.5 MiB
#7 Accepted 5ms 6.5 MiB
#8 Accepted 6ms 8.5 MiB
#9 Accepted 5ms 8.5 MiB
#10 Accepted 5ms 8.621 MiB

信息

递交者
类型
递交
题目
P1748 进制转换
语言
C++
递交时间
2017-05-15 10:02:03
评测时间
2017-05-15 10:02:03
评测机
分数
100
总耗时
55ms
峰值内存
8.621 MiB