记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:16:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   16 |         if(a>b>c){
      |            ~^~
foo.c:19:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   19 |         if(b>a>c){
      |            ~^~
foo.c:22:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   22 |         if(c>a>b){
      |            ~^~
foo.c:25:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   25 |         if(a>c>b){
      |            ~^~
foo.c:27:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   27 |         if(b>c>a){printf("%d %d %d",b,c,a);
      |            ~^~
foo.c:29:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   29 |         if(c>b>a){
      |            ~^~
foo.c:8:13: warning: 'a' is used uninitialized [-Wuninitialized]
    8 |         int max=a;
      |             ^~~
foo.c:5:7: note: 'a' declared here
    5 |   int a;
      |       ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 3ms 256.0 KiB
#2 Wrong Answer Standard answer longer than user output. 3ms 256.0 KiB
#3 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#4 Wrong Answer Standard answer longer than user output. 3ms 256.0 KiB
#5 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
比赛
2022年迎新赛(第一场)
语言
C
递交时间
2022-08-15 19:20:32
评测时间
2022-08-15 19:20:46
评测机
分数
0
总耗时
13ms
峰值内存
256.0 KiB