Record Detail

Compile Error

/in/complex.c: In function 'main':
/in/complex.c:20:18: error: format '%f' expects argument of type 'double', but argument 2 has type 'complex double' [-Werror=format=]
         printf("%f%f\n",x1,x2);
                 ~^
/in/complex.c:20:20: error: format '%f' expects argument of type 'double', but argument 3 has type 'complex double' [-Werror=format=]
         printf("%f%f\n",x1,x2);
                   ~^
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Homework 6
Language
C
Submit At
2020-07-23 23:44:02
Judged At
2020-08-08 20:20:20
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes