记录详情

Accepted

/in/foo.cc: In function 'int jixiao(char*)':
/in/foo.cc:9:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(x[i]>='a' && x[i]<='z') 
   ^~
/in/foo.cc:11:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    i=i+1;
    ^
/in/foo.cc: In function 'int jida(char*)':
/in/foo.cc:21:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(x[i]>='A' && x[i]<='Z') 
   ^~
/in/foo.cc:23:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    i=i+1;
    ^
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 348.0 KiB
#4 Accepted 1ms 352.0 KiB
#5 Accepted 1ms 344.0 KiB

信息

递交者
类型
递交
题目
A8-3 字符串的统计函数
比赛
南师大(含泰州学院)2024年新生赛(第二场之预赛)
语言
C++
递交时间
2024-08-26 14:08:08
评测时间
2024-08-26 14:08:08
评测机
分数
100
总耗时
7ms
峰值内存
376.0 KiB