/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool two(std::__cxx11::string, int)':
/in/foo.cc:15:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(i==s.length()-1){
     ~^~~~~~~~~~~~~~
/in/foo.cc: In function 'bool one(std::__cxx11::string, int)':
/in/foo.cc:24:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(i==s.length()-1){
     ~^~~~~~~~~~~~~~
/in/foo.cc: In function 'SuanShi huajian(std::__cxx11::string)':
/in/foo.cc:52:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<s.length();i++) {   
              ~^~~~~~~~~~~
/in/foo.cc:176:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(yudeng=0){
              ^
/in/foo.cc:45:6: warning: unused variable 'a' [-Wunused-variable]
  int a=0;
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:197:10: warning: unused variable 'item' [-Wunused-variable]
  for(int item: m.two){
          ^~~~
/in/foo.cc:201:10: warning: unused variable 'item' [-Wunused-variable]
  for(int item: m.one){
          ^~~~
/in/foo.cc:205:10: warning: unused variable 'item' [-Wunused-variable]
  for(int item: m.zero){
          ^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 224.0 KiB
#2 Accepted 1ms 228.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Accepted 1ms 224.0 KiB
#5 Accepted 1ms 228.0 KiB
#6 Accepted 1ms 224.0 KiB
#7 Accepted 1ms 232.0 KiB
#8 Accepted 1ms 220.0 KiB
#9 Accepted 1ms 228.0 KiB
#10 Accepted 1ms 224.0 KiB

信息

递交者
类型
递交
题目
P1646 难题?水题?
语言
C++
递交时间
2019-07-30 10:59:21
评测时间
2019-07-30 10:59:21
评测机
分数
100
总耗时
12ms
峰值内存
232.0 KiB