結果
| 問題 |
No.1057 素敵な日
|
| コンテスト | |
| ユーザー |
imoni_kawaii
|
| 提出日時 | 2020-06-08 16:22:42 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 565 bytes |
| コンパイル時間 | 2,901 ms |
| コンパイル使用メモリ | 190,632 KB |
| 最終ジャッジ日時 | 2025-01-11 00:11:56 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 4 WA * 3 |
ソースコード
#include <bits/stdc++.h>
#define REP(i, m, n) for(int i = (int)(m); i < (int)(n); ++i)
#define rep(i, n) REP(i, 0, n)
using namespace std;
using ll = long long;
using ld = long double;
template<class T, class U> inline bool chmax(T &a, const U &b) { if(a < b) { a = b; return true; } return false; }
template<class T, class U> inline bool chmin(T &a, const U &b) { if(a > b) { a = b; return true; } return false; }
int main() {
cin.tie(0); ios::sync_with_stdio(false);
int a, b;
cin >> a >> b;
int ans = 2*min(a, b);
cout << ans << '\n';
return 0;
}
imoni_kawaii