记录详情

Compile Error

foo.c: In function 'Init':
foo.c:5:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
    5 |         int n=strlen(s);
      |               ^~~~~~
foo.c:2:1: note: include '<string.h>' or provide a declaration of 'strlen'
    1 | #include<stdio.h>
  +++ |+#include <string.h>
    2 | 
foo.c:5:15: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
    5 |         int n=strlen(s);
      |               ^~~~~~
foo.c:5:15: note: include '<string.h>' or provide a declaration of 'strlen'
foo.c: In function 'Output':
foo.c:14:18: error: expected ')' before ';' token
   14 | {printf("%d",d[i];}
      |        ~         ^
      |                  )
foo.c:14:19: error: expected ';' before '}' token
   14 | {printf("%d",d[i];}
      |                   ^
      |                   ;
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
A11-4 高精度整数之间的乘法
语言
C
递交时间
2023-11-11 18:19:08
评测时间
2023-11-11 18:19:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes