結果
| 問題 | No.1057 素敵な日 |
| コンテスト | |
| ユーザー |
LV3zJigVW57oPGy
|
| 提出日時 | 2022-11-12 16:52:11 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 383µs | |
| コード長 | 270 bytes |
| 記録 | |
| コンパイル時間 | 838 ms |
| コンパイル使用メモリ | 172,964 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-08-26 22:25:03 |
| 合計ジャッジ時間 | 1,947 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#include <stdio.h>
#include <iomanip>
#include <iostream>
#include <string>
#include <algorithm>
int main(){
int a, b;
cin >> a >> b;
int c = min(a, b);
if(a==b){
cout << c*2-1;
}
else{
cout << c*2;
}
}
LV3zJigVW57oPGy