记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:42:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<s.size();i++){
              ~^~~~~~~~~
foo.cc:56:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<s.size();i++){
              ~^~~~~~~~~
foo.cc:57:13: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(bd[s[i]]){
             ^
foo.cc:58:17: warning: array subscript has type 'char' [-Wchar-subscripts]
    if(!bd[s[i-1]])hz+='.';
                 ^
foo.cc:59:14: warning: array subscript has type 'char' [-Wchar-subscripts]
    if(bd[s[i]]==1){
              ^
foo.cc:62:19: warning: array subscript has type 'char' [-Wchar-subscripts]
    else if(bd[s[i]]==5){
                   ^
foo.cc:74:38: warning: array subscript has type 'char' [-Wchar-subscripts]
      while(!st2.empty()&&bd[st2.top()]>=bd[s[i]]){
                                      ^
foo.cc:74:48: warning: array subscript has type 'char' [-Wchar-subscripts]
      while(!st2.empty()&&bd[st2.top()]>=bd[s[i]]){
                                                ^
foo.cc:86:22: warning: array subscript has type 'char' [-Wchar-subscripts]
  if(!bd[s[s.size()-1]])hz+='.';
                      ^
foo.cc:93:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<hz.size();i++){
              ~^~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read NO, expect 18. 2ms 384.0 KiB
#2 Wrong Answer Read NO, expect -61. 2ms 564.0 KiB
#3 Wrong Answer Read NO, expect 2910. 2ms 384.0 KiB
#4 Wrong Answer Read NO, expect -28629151. 2ms 384.0 KiB
#5 Wrong Answer Read NO, expect 857375. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
计算(calc)
题目数据
下载
语言
C++
递交时间
2021-03-14 20:42:48
评测时间
2021-03-14 20:42:48
评测机
分数
0
总耗时
10ms
峰值内存
564.0 KiB