记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:47:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for(int j=0;j<str.length();j++)
                         ~^~~~~~~~~~~~~
/in/foo.cc:46:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
         if(c=='1')
           ^
# 状态 耗时 内存占用
#1 Accepted 2ms 380.0 KiB
#2 Accepted 2ms 364.0 KiB
#3 Accepted 3ms 344.0 KiB
#4 Accepted 1ms 348.0 KiB
#5 Accepted 4ms 376.0 KiB
#6 Accepted 3ms 376.0 KiB
#7 Accepted 2ms 400.0 KiB
#8 Accepted 1ms 444.0 KiB
#9 Accepted 3ms 444.0 KiB
#10 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P1570 Problem 2B. p进制数2
比赛
2024春 悬赏令第二周
语言
C++
递交时间
2024-04-27 23:23:41
评测时间
2024-04-27 23:23:41
评测机
分数
100
总耗时
28ms
峰值内存
444.0 KiB