結果

問題 No.1893 Cycle
ユーザー yorry2101
提出日時 2023-05-08 21:52:36
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 166 bytes
コンパイル時間 659 ms
コンパイル使用メモリ 65,996 KB
最終ジャッジ日時 2025-02-12 21:02:44
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main() {
	int x, y;
	cin >> x >> y;
	int cal = (max(x, y)+4)%12;
	if (min(x, y) == cal) cal+=4;
	cout << cal << endl;
}
0