记录详情

Accepted

/in/foo.cc: In function 'std::__cxx11::string change(std::__cxx11::string)':
/in/foo.cc:9:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<s.length();i++){
              ~^~~~~~~~~~~
/in/foo.cc:10:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(s[i+1]==' '||i==s.length()-1){
                   ~^~~~~~~~~~~~~~
/in/foo.cc:14:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i==s.length()-1)continue;
       ~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB
#2 Accepted 1ms 332.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 336.0 KiB
#5 Accepted 1ms 324.0 KiB

信息

递交者
类型
递交
题目
P1094 xf2-7说反话
比赛
2024程序设计与竞赛作业赛第四场(体悟本心)
语言
C++
递交时间
2024-10-24 22:12:36
评测时间
2024-10-24 22:12:37
评测机
分数
100
总耗时
7ms
峰值内存
376.0 KiB