/ Vijos /

记录详情

Wrong Answer

/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:47:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<s.length();i++) {   
              ~^~~~~~~~~~~
/in/foo.cc:171:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(yudeng=0){
              ^
/in/foo.cc:40:6: warning: unused variable 'a' [-Wunused-variable]
  int a=0;
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:192:10: warning: unused variable 'item' [-Wunused-variable]
  for(int item: m.two){
          ^~~~
/in/foo.cc:196:10: warning: unused variable 'item' [-Wunused-variable]
  for(int item: m.one){
          ^~~~
/in/foo.cc:200:10: warning: unused variable 'item' [-Wunused-variable]
  for(int item: m.zero){
          ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 220.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 1ms 232.0 KiB
#6 Accepted 1ms 224.0 KiB
#7 Wrong Answer 1ms 228.0 KiB
#8 Accepted 1ms 224.0 KiB
#9 Accepted 1ms 228.0 KiB
#10 Wrong Answer 1ms 220.0 KiB

信息

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