记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:8:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[100000]' [-Wformat=]
  scanf("%s", &sa);
         ~^   ~~~
/in/foo.c:9:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[100000]' [-Wformat=]
  scanf("%s", &sb);
         ~^   ~~~
/in/foo.c:12:3: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration]
   strcat(sb, sa);
   ^~~~~~
/in/foo.c:12:3: warning: incompatible implicit declaration of built-in function 'strcat'
/in/foo.c:12:3: note: include '<string.h>' or provide a declaration of 'strcat'
/in/foo.c:5:6: warning: unused variable 'x' [-Wunused-variable]
  int x, n;
      ^
# 状态 耗时 内存占用
#1 Accepted 1ms 332.0 KiB
#2 Accepted 1ms 312.0 KiB
#3 Accepted 1ms 316.0 KiB
#4 Accepted 1ms 332.0 KiB
#5 Accepted 0ms 316.0 KiB

信息

递交者
类型
递交
题目
2-2 语言的起点
比赛
课程赛事 2018/12/1
语言
C
递交时间
2018-12-01 09:02:35
评测时间
2018-12-01 09:02:35
评测机
分数
100
总耗时
5ms
峰值内存
332.0 KiB