记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:11:21: warning: unused variable ‘x1’ [-Wunused-variable]
   11 |                 int x1=x%10; //取个位
      |                     ^~
foo.cc:18:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   18 |                 if(x%y==0)
      |                 ^~
foo.cc:20:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   20 |                         y++;
      |                         ^
# 状态 耗时 内存占用
#1 Accepted 2ms 324.0 KiB
#2 Wrong Answer Read Yes, expect No. 3ms 764.0 KiB
#3 Wrong Answer Read Yes, expect No. 3ms 536.0 KiB
#4 Accepted 3ms 536.0 KiB
#5 Wrong Answer Read Yes, expect No. 3ms 548.0 KiB

信息

递交者
类型
递交
题目
A5-1 超级素数判断
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C++
递交时间
2024-08-18 16:00:23
评测时间
2024-08-18 16:00:23
评测机
分数
40
总耗时
15ms
峰值内存
764.0 KiB