记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:13:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
   printf("%d,%d",x1,x2);
            ^
/in/foo.c:13:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=]
   printf("%d,%d",x1,x2);
               ^
/in/foo.c:15:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  else if(delta=0)
  ^~~~
/in/foo.c:19:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
   printf("%d,%d",x1,x2);
            ^
/in/foo.c:19:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=]
   printf("%d,%d",x1,x2);
               ^
/in/foo.c:25:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
   printf("%d,%d",x1,x2);
            ^
/in/foo.c:25:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=]
   printf("%d,%d",x1,x2);
               ^
/in/foo.c:31:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
         printf("%d,%d",x1,x2);
                  ^
/in/foo.c:31:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=]
         printf("%d,%d",x1,x2);
                     ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 228.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2024-11-08 21:24:35
评测时间
2024-11-08 21:24:35
评测机
分数
0
总耗时
1ms
峰值内存
228.0 KiB