记录详情

Accepted

/in/foo.cc: In function 'void get_primes(int)':
/in/foo.cc:22:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (vis[i] == false)
         ^~
/in/foo.cc:24:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
             for (int j = 0; primes[j] * i <= x; j++){
             ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 212.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 212.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 1ms 204.0 KiB

信息

递交者
类型
递交
题目
A3-2 素数专题:素数判断
比赛
2020苏青奥赛集训营(2021-1-3)
语言
C++
递交时间
2021-01-03 13:30:23
评测时间
2021-01-03 13:30:23
评测机
分数
100
总耗时
6ms
峰值内存
220.0 KiB