よじろめ覚書

私の理解度重視のソースコードです。

2019-07-16から1日間の記事一覧

ABC039A - 高橋直体

ABC

問題:A - 高橋直体 #include <iostream> using namespace std; int main(void) { int a, b, c; cin.tie(0); ios::sync_with_stdio(false); cin >> a >> b >> c; cout << 2 * ((a * b) + (b * c) + (c * a)) << "\n"; return 0; } 直方体の表面積 = 2(ab + bc + ac) a </iostream>…