結果
| 問題 |
No.1893 Cycle
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-04-08 21:24:05 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 294 bytes |
| コンパイル時間 | 2,354 ms |
| コンパイル使用メモリ | 193,040 KB |
| 最終ジャッジ日時 | 2025-01-28 15:50:16 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
typedef long long ll;
typedef long double ld;
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
ll x,y;
std::cin >> x>>y;
if((x+4)%12==y){
std::cout << (y+4)%12 << std::endl;
}else{
std::cout << (x+4)%12 << std::endl;
}
}