提出 #761498


ソースコード 拡げる

#include <bits/stdc++.h>
using namespace std;

int main()
{
	cin.tie(0);
	ios::sync_with_stdio(false);

	int A,B,C;
	cin >> A >> B >> C;
	
	int ans = (A * B) * 2 + (A * C) * 2 + (B * C) * 2;
	
	cout << ans << endl;

	return 0;
}

提出情報

提出日時
問題 A - 高橋直体
ユーザ cmmnd17
言語 C++14 (GCC 5.4.1)
得点 100
コード長 244 Byte
結果 AC
実行時間 4 ms
メモリ 384 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 4
AC × 14
セット名 テストケース
Sample example_0.txt, example_1.txt, example_2.txt, example_3.txt
All example_0.txt, example_1.txt, example_2.txt, example_3.txt, random_0.txt, random_1.txt, random_2.txt, random_3.txt, random_4.txt, random_5.txt, random_6.txt, random_7.txt, random_8.txt, random_9.txt
ケース名 結果 実行時間 メモリ
example_0.txt AC 4 ms 384 KiB
example_1.txt AC 4 ms 256 KiB
example_2.txt AC 4 ms 256 KiB
example_3.txt AC 4 ms 256 KiB
random_0.txt AC 4 ms 256 KiB
random_1.txt AC 4 ms 256 KiB
random_2.txt AC 4 ms 256 KiB
random_3.txt AC 4 ms 256 KiB
random_4.txt AC 4 ms 256 KiB
random_5.txt AC 4 ms 256 KiB
random_6.txt AC 4 ms 256 KiB
random_7.txt AC 4 ms 256 KiB
random_8.txt AC 4 ms 256 KiB
random_9.txt AC 4 ms 256 KiB