记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:5:4: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
    5 |   2<i<n;
      |   ~^~
/in/foo.c:5:6: warning: statement with no effect [-Wunused-value]
    5 |   2<i<n;
      |   ~~~^~
/in/foo.c:5:4: warning: 'i' is used uninitialized [-Wuninitialized]
    5 |   2<i<n;
      |   ~^~
/in/foo.c:4:9: note: 'i' was declared here
    4 | { int n,i;
      |         ^
/in/foo.c:7:13: warning: 'n' is used uninitialized [-Wuninitialized]
    7 |         if(n%i==0)
      |            ~^~
/in/foo.c:4:7: note: 'n' was declared here
    4 | { int n,i;
      |       ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 284.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2025-11-13 15:15:42
评测时间
2025-11-13 15:15:42
评测机
分数
0
总耗时
1ms
峰值内存
284.0 KiB