编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#2313 | #1003. 凸多边形 | Compile Error | 0 | 0 ms | 0 K | C / 1.4 K | t330026238 | 2023-11-17 10:36:34 |
typedef struct Point;
double
double
double
int
int
编译信息
/sandbox/1/a.c:3:9: warning: 'M_PI' macro redefined [-Wmacro-redefined]
#define M_PI 3.14
^
/usr/include/math.h:1070:10: note: previous definition is here
# define M_PI 3.14159265358979323846 /* pi */
^
/sandbox/1/a.c:52:5: warning: implicit declaration of function 'scanf_s' is invalid in C99 [-Wimplicit-function-declaration]
scanf_s("%lf%lf", &A.x, &A.y);
^
2 warnings generated.
/usr/bin/ld: /tmp/a-eaaccb.o: in function `main':
a.c:(.text+0x563): undefined reference to `scanf_s'
/usr/bin/ld: a.c:(.text+0x577): undefined reference to `scanf_s'
/usr/bin/ld: a.c:(.text+0x58b): undefined reference to `scanf_s'
/usr/bin/ld: a.c:(.text+0x59f): undefined reference to `scanf_s'
clang: error: linker command failed with exit code 1 (use -v to see invocation)