Accepted

foo.cc: In function ‘bool pf(int)’:
foo.cc:7:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
    7 |                 for(int j=i;j*j<=n;j++)
      |                 ^~~
foo.cc:9:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
    9 |                         return 0;
      |                         ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 760.0 KiB
#2 Accepted 2ms 504.0 KiB
#3 Accepted 2ms 504.0 KiB
#4 Accepted 2ms 504.0 KiB
#5 Accepted 2ms 340.0 KiB
#6 Accepted 2ms 504.0 KiB
#7 Accepted 2ms 504.0 KiB
#8 Accepted 2ms 504.0 KiB
#9 Accepted 3ms 504.0 KiB
#10 Accepted 3ms 504.0 KiB

信息

递交者
类型
递交
题目
P2773 平方之和2级1 2024.6
比赛
2025.7.21中级班练习
语言
C++
递交时间
2025-07-21 10:22:56
评测时间
2025-07-21 13:41:40
评测机
分数
100
总耗时
27ms
峰值内存
760.0 KiB