Record Detail

Compile Error

/in/ex6.c: In function 'main':
/in/ex6.c:12:13: error: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Werror=format=]
     scanf("%d %d",x,y);
            ~^
/in/ex6.c:12:16: error: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Werror=format=]
     scanf("%d %d",x,y);
               ~^
/in/ex6.c:13:13: error: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Werror=format=]
     scanf("%d %d",x1,y1);
            ~^
/in/ex6.c:13:16: error: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Werror=format=]
     scanf("%d %d",x1,y1);
               ~^
/in/ex6.c: In function 'f1':
/in/ex6.c:19:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
/in/ex6.c: In function 'f2':
/in/ex6.c:22:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Homework 5
Language
C
Submit At
2022-07-02 23:54:03
Judged At
2022-07-05 08:56:09
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes