记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while(n%i!=0&&i<=n-1)
  ^~~~~
/in/foo.cc:9:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
    if(i>=n-1&&n>1) cout<<"yes"<<endl;
    ^~
# 状态 耗时 内存占用
#1 Accepted 5ms 372.0 KiB
#2 Accepted 4ms 368.0 KiB
#3 Accepted 5ms 372.0 KiB

信息

递交者
类型
递交
题目
素数判断
语言
C++
递交时间
2018-07-21 11:11:40
评测时间
2018-07-21 11:11:40
评测机
分数
100
总耗时
15ms
峰值内存
372.0 KiB