結果
問題 |
No.1004 サイコロの実装 (2)
|
ユーザー |
![]() |
提出日時 | 2021-07-14 18:23:57 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 194 bytes |
コンパイル時間 | 1,151 ms |
コンパイル使用メモリ | 27,520 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-03 18:36:41 |
合計ジャッジ時間 | 2,336 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 6 WA * 32 |
ソースコード
#include<stdio.h> int main() { long long int a, b, x, n; scanf("%ld %lld %lld %lld", &a, &b, &x, &n); if (x % 2 > 0) printf("0 %lld", n / 2); else printf("%lld 0\n", n / 2); return 0; }