結果
| 問題 |
No.1893 Cycle
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-04-08 21:34:24 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 249 bytes |
| コンパイル時間 | 1,816 ms |
| コンパイル使用メモリ | 191,444 KB |
| 最終ジャッジ日時 | 2025-01-28 15:54:13 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if ((x + 4) % 12 != y) {
cout << (x + 4) % 12 << endl;
return 0;
}
if ((x + 8) % 12 != y) {
cout << (x + 8) % 12 << endl;
return 0;
}
}