记录详情

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 %d", &a, &b, &c);
  ^~~~~~~
/in/foo.c:20:8: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if (a > c > b)
      ~~^~~
/tmp/ccZFdwq0.o: In function `main':
foo.c:(.text.startup+0x35): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C
递交时间
2024-08-20 01:24:54
评测时间
2024-08-20 01:24:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes