/ XMU_ACM /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:13: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[255]' [-Wformat=]
     scanf("%s",&a);
             ^
/in/foo.c:9:15: error: 's' undeclared (first use in this function)
  int n=strlen(s);
               ^
/in/foo.c:9:15: note: each undeclared identifier is reported only once for each function it appears in

信息

递交者
类型
递交
题目
简单回文串
语言
C
递交时间
2024-03-04 11:02:12
评测时间
2024-03-04 11:02:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes