/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:12:14: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
     scanf("l%d",&a);
              ^
/in/foo.c: In function 'hw':
/in/foo.c:53:15: warning: unused variable 'm' [-Wunused-variable]
     int i=0,j,m,k,sum=0;
               ^
/in/foo.c: In function 'zh':
/in/foo.c:82:11: warning: unused variable 'j' [-Wunused-variable]
     int i,j,c=0,d;
           ^
/in/foo.c: In function 'main':
/in/foo.c:65:9: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
        a=a/10;
        ~^~~~~
/in/foo.c:69:10: note: 'a' was declared here
 long int pd(long int a)
          ^~
# 状态 耗时 内存占用
#1 Runtime Error 0ms 196.0 KiB
#2 Runtime Error 0ms 208.0 KiB
#3 Wrong Answer 0ms 204.0 KiB
#4 Runtime Error 0ms 212.0 KiB

信息

递交者
类型
递交
题目
P1304 回文数
语言
C
递交时间
2019-11-12 23:20:54
评测时间
2019-11-12 23:20:54
评测机
分数
0
总耗时
2ms
峰值内存
212.0 KiB