Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d", &x);
          ^
/in/foo.c:22:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  printf("%d", 10*(x%(int)(pow(10, n-2)))+c);
           ^
/in/foo.c:17:5: warning: 'xx' may be used uninitialized in this function [-Wmaybe-uninitialized]
   xx=xx/10;
   ~~^~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 0ms 208.0 KiB
#2 Runtime Error 1ms 204.0 KiB
#3 Runtime Error 0ms 208.0 KiB
#4 Runtime Error 0ms 200.0 KiB

信息

递交者
类型
递交
语言
C
递交时间
2019-03-15 22:53:41
评测时间
2019-03-15 22:53:41
评测机
分数
0
总耗时
3ms
峰值内存
208.0 KiB