結果
| 問題 | No.3454 Zodiac |
| コンテスト | |
| ユーザー |
U10
|
| 提出日時 | 2026-02-28 13:50:48 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 254 bytes |
| 記録 | |
| コンパイル時間 | 1,806 ms |
| コンパイル使用メモリ | 165,320 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-02-28 13:50:51 |
| 合計ジャッジ時間 | 2,503 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 6 WA * 7 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
int main(){
int P,Q,Y,p,q,y;
cin >> P >> Q >> Y >> p >> q >> y;
cout << (y - Y + p) % P << " " << (y - Y + q) % Q << endl;
return 0;
}
U10