记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:28:39: error: 'n' undeclared (first use in this function)
   printf("%.2f+%.2fi\n%.2f-%.2fi\n",p,n,p,n);
                                       ^
/in/foo.c:28:39: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:6:33: warning: variable 'm' set but not used [-Wunused-but-set-variable]
     double a,b,c,x1,x2,disc,q,p,m;
                                 ^

信息

递交者
类型
自测
语言
C
递交时间
2024-11-15 11:24:29
评测时间
2024-11-15 11:24:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes