← Back to Challenge List

Submission #99210

上傳編號99210
上傳時間2020-05-21 23:59:24
題目 The Triangle A (測試題)
使用者 anonymous
總得分 0, CE in 0 ms
# State Runtime Memory
0 CE 0 ms 0
1 CE 0 ms 0
2 CE 0 ms 0
3 CE 0 ms 0
Judge Information
./test.cpp: In function 'int main()':
./test.cpp:6:24: error: expression cannot be used as a function
printf("%.4f\n"(a+c)*b/2);
^
./test.cpp:5:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf %lf",&a,&b,&c);
^