记录详情

Accepted

foo.cc: In function 'bool prime(int)':
foo.cc:6:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    6 |     if(n == 1)
      |     ^~
foo.cc:8:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    8 |         int i,k;
      |         ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 332.0 KiB
#2 Accepted 3ms 412.0 KiB
#3 Accepted 6ms 412.0 KiB
#4 Accepted 6ms 284.0 KiB
#5 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
A5-2 超级素数的个数
比赛
2023 程序设计与竞赛(作业3:中秋和国庆)
语言
C++
递交时间
2023-10-01 16:08:31
评测时间
2023-10-01 16:08:31
评测机
分数
100
总耗时
22ms
峰值内存
412.0 KiB