/ XMU_ACM /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:13: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[100]' [-Wformat=]
    6 |     scanf("%s",&a);
      |            ~^  ~~
      |             |  |
      |             |  char (*)[100]
      |             char *
/in/foo.c:7:9: error: unknown type name 'uint'; did you mean 'int'?
    7 |         uint i=0;
      |         ^~~~
      |         int
/in/foo.c:8:9: error: unknown type name 'uint'; did you mean 'int'?
    8 |         uint q=0;
      |         ^~~~
      |         int
/in/foo.c:9:21: warning: multi-character character constant [-Wmultichar]
    9 |         while(a[i]=='/0'){
      |                     ^~~~

信息

递交者
类型
递交
题目
P1014 刘学习想学前缀数组
语言
C
递交时间
2026-09-03 11:22:18
评测时间
2026-09-12 06:33:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes