結果
問題 |
No.9013 台形の面積
|
ユーザー |
![]() |
提出日時 | 2021-07-22 20:16:00 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 180 bytes |
コンパイル時間 | 96 ms |
コンパイル使用メモリ | 28,160 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-17 15:07:06 |
合計ジャッジ時間 | 536 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 3 WA * 1 |
ソースコード
#include <stdio.h> int main(void) { int a, b, c; float d; scanf("%d,%d,%d", &a, &b, &c); d = (a + b) * c / 2; printf("%.2f", d); return 0; }