/ Vijos /

记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:54:13: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'unsigned char *' [-Wformat=]
     scanf("%d",&Format);
             ^
/in/foo.c:57:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
     DataLen = strlen(DataTab);
               ^~~~~~
/in/foo.c:57:15: warning: incompatible implicit declaration of built-in function 'strlen'
/in/foo.c:57:15: note: include '<string.h>' or provide a declaration of 'strlen'
/in/foo.c:57:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
     DataLen = strlen(DataTab);
                      ^~~~~~~
/in/foo.c:57:22: note: expected 'const char *' but argument is of type 'unsigned char *'
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1304 回文数
语言
C
递交时间
2018-10-07 00:33:08
评测时间
2018-10-07 00:33:08
评测机
分数
100
总耗时
9ms
峰值内存
256.0 KiB