记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:16:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
        if(s[1]>=s[0]&& 0<=s[1]&&s[1]<=30&&0<=s[0]&&s[0]<=30)
        ^~
/in/foo.c:18:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
          printf("%d",sum);
          ^~~~~~
/in/foo.c:6:12: warning: variable 't2' set but not used [-Wunused-but-set-variable]
    char t1,t2;
            ^~
/in/foo.c:6:9: warning: variable 't1' set but not used [-Wunused-but-set-variable]
    char t1,t2;
         ^~
/in/foo.c:18:10: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
          printf("%d",sum);
          ^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 0ms 208.0 KiB
#2 Wrong Answer 0ms 208.0 KiB
#3 Wrong Answer 0ms 200.0 KiB
#4 Wrong Answer 0ms 208.0 KiB
#5 Wrong Answer 0ms 196.0 KiB

信息

递交者
类型
递交
题目
P1005 OO1-4 日期类Date
语言
C
递交时间
2019-12-14 12:11:16
评测时间
2019-12-14 12:11:16
评测机
分数
0
总耗时
3ms
峰值内存
208.0 KiB