/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'test':
/in/foo.c:9:5: warning: implicit declaration of function 'strrev' [-Wimplicit-function-declaration]
     strrev(x);
     ^~~~~~
/in/foo.c: In function 'main':
/in/foo.c:22:22: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=]
             printf("%s\n",strrev(mw[i]));
                      ^
/tmp/ccR9Tj67.o: In function `test':
foo.c:(.text+0x3e): undefined reference to `strrev'
/tmp/ccR9Tj67.o: In function `main':
foo.c:(.text.startup+0xaf): undefined reference to `strrev'
collect2: error: ld returned 1 exit status

信息

递交者
类型
自测
题目
P1449 字符串还原
语言
C
递交时间
2017-08-01 15:24:57
评测时间
2017-08-01 15:24:57
评测机
分数
0
总耗时
70ms
峰值内存
5.805 MiB