记录详情

Wrong Answer

foo.cc: In function 'bool correct(std::string)':
foo.cc:49:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   49 |         for(int i=1;i<x.size();i++)
      |                     ~^~~~~~~~~
foo.cc:50:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   50 |                 if(x[i-1]=='.'&&x[i]=='.'||x[i-1]=='.'&&x[i]==':')
foo.cc:56:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   56 |         for(int i=2;i<x.size();i++)
      |                     ~^~~~~~~~~
正在同步测试数据,请稍后
Found 20 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 5ms 384.0 KiB
#5 Accepted 10ms 384.0 KiB
#6 Accepted 5ms 384.0 KiB
#7 Accepted 5ms 256.0 KiB
#8 Accepted 10ms 384.0 KiB
#9 Accepted 14ms 384.0 KiB
#10 Accepted 11ms 384.0 KiB
#11 Accepted 9ms 256.0 KiB
#12 Wrong Answer Read FAIL, expect ERR. 11ms 384.0 KiB
#13 Wrong Answer Read OK, expect ERR. 6ms 384.0 KiB
#14 Accepted 10ms 384.0 KiB
#15 Accepted 7ms 384.0 KiB
#16 Wrong Answer Read FAIL, expect ERR. 9ms 384.0 KiB
#17 Wrong Answer Read OK, expect ERR. 6ms 256.0 KiB
#18 Wrong Answer Read FAIL, expect ERR. 6ms 384.0 KiB
#19 Wrong Answer Read FAIL, expect ERR. 6ms 384.0 KiB
#20 Wrong Answer Read OK, expect ERR. 5ms 256.0 KiB

信息

递交者
类型
递交
题目
P1000 [CSP-J 2021] 网络连接
语言
C++
递交时间
2022-09-24 19:21:30
评测时间
2022-09-24 19:23:35
评测机
分数
65
总耗时
152ms
峰值内存
384.0 KiB