結果

問題 No.1934 Four Fruits
ユーザー VvyLw
提出日時 2025-04-04 13:05:05
言語 D
(dmd 2.109.1)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 420 bytes
コンパイル時間 1,049 ms
コンパイル使用メモリ 163,544 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-04-04 13:05:10
合計ジャッジ時間 1,653 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

import std;
import core.bitop;
import core.checkedint;
import core.time;

const dx = [-1, 1, 0, 0];
const dy = [0, 0, -1, 1];

void main() {
	const a = readln.split.to!(int[]);
	writeln(a.fold!"a ^ b");
}

pragma(inline)
string yes(const bool b) pure @nogc nothrow @safe {
	return b ? "Yes" : "No";
}

pragma(inline)
bool range(const int a, const int x, const int b) pure @nogc nothrow @safe {
	return a <= x && x < b;
}
0