結果

問題 No.1004 サイコロの実装 (2)
ユーザー fura
提出日時 2020-03-06 22:10:57
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 234 bytes
コンパイル時間 2,117 ms
コンパイル使用メモリ 190,776 KB
最終ジャッジ日時 2025-01-09 05:13:13
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 3 WA * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

#define rep(i,n) for(int i=0;i<(n);i++)

using namespace std;
using lint=long long;

int main(){
	lint x0,n; cin>>x0>>n;
	if(x0%2==0) printf("0 %lld\n",n/2);
	else        printf("%lld 0\n",n/2);
	return 0;
}
0