记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:13:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   13 |                 {if(n%i==0)
      |                  ^~
/in/foo.c:14:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   14 |                 printf("%d is not a primer!",n);break;
      |                                                 ^~~~~
/in/foo.c:18:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   18 |                 {if(n%i!=0)
      |                  ^~
/in/foo.c:19:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   19 |                         printf("%d is a primer!",n);break;}
      |                                                     ^~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2025-11-14 20:07:57
评测时间
2025-11-14 20:07:57
评测机
分数
10
总耗时
1ms
峰值内存
284.0 KiB