记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:2: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
  scanf_s("%d %d",&x1,&x2);
  ^~~~~~~
/in/foo.c:20:2: warning: 'y1' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d %d",y1,y2);
  ^~~~~~~~~~~~~~~~~~~~~
/tmp/ccenhv0O.o: In function `main':
foo.c:(.text.startup+0x19): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
比赛
程序设计强化(第一周)
语言
C
递交时间
2024-02-27 14:13:38
评测时间
2024-02-27 14:13:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes