結果

問題 No.1057 素敵な日
ユーザー Arpan Singh
提出日時 2020-05-22 21:23:21
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 398 bytes
コンパイル時間 1,341 ms
コンパイル使用メモリ 165,240 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-05 14:39:52
合計ジャッジ時間 1,978 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

# include <bits/stdc++.h>
# define endl "\n"
using namespace std;

typedef long long int ll;

void solve() {
	int a, b;
	cin >> a >> b;
	cout << 2 * min(a, b);
}

int main() {
	ios_base::sync_with_stdio(0);
	cin.tie(0); cout.tie(0);
# ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
# endif
	// int t;
	// cin >> t;
	// while (t--)
	solve();
	return 0;
}
0