結果
問題 |
No.1004 サイコロの実装 (2)
|
ユーザー |
![]() |
提出日時 | 2020-06-21 02:21:06 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 633 bytes |
コンパイル時間 | 1,894 ms |
コンパイル使用メモリ | 192,184 KB |
最終ジャッジ日時 | 2025-01-11 08:51:13 |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 6 WA * 32 |
ソースコード
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < (int)(n); i++) #define REPLL(i, n) for (ll i = 0; i < (ll)(n); i++) using namespace std; template<class T>inline bool chmax(T &a, const T &b){if(a < b){a = b; return 1;}return 0;} template<class T>inline bool chmin(T &a, const T &b){if(a > b){a = b; return 1;}return 0;} typedef long long ll; // yukicoder No.1004 サイコロの実装(2) // 2020.06.20 int main(){ ios::sync_with_stdio(false); cin.tie(0); ll a, b, x0, N; cin >> a >> b >> x0 >> N; if(N%4 == 3){ cout << N/4+1 << " " << N/4 << endl; }else{ cout << N/4 << " " << N/4 << endl; } }