/ Vijos /

记录详情

Accepted

foo.cc: In function 'void Process(int)':
foo.cc:94:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if( !((isdigit(L) && isdigit(R) || islower(L) && islower(R)) && R>L) ) return;
         ~~~~~~~~~~~^~~~~~~~~~~~~
foo.cc:103:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0; i<fill.size(); i++) 
                ~^~~~~~~~~~~~
foo.cc:108:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0; i<fill.size(); i++) 
                ~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:133:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while( s[k]!='-' && k<s.size() ) k++; 
                       ~^~~~~~~~~
foo.cc:134:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(k>=s.size()) break;
      ~^~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 1ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1379 字符串的展开
语言
C++
递交时间
2021-03-20 17:11:23
评测时间
2021-03-20 17:11:23
评测机
分数
100
总耗时
19ms
峰值内存
384.0 KiB