結果
| 問題 |
No.1987 Sandglass Inconvenience
|
| コンテスト | |
| ユーザー |
kokatsu
|
| 提出日時 | 2022-06-24 21:36:17 |
| 言語 | D (dmd 2.109.1) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 189 bytes |
| コンパイル時間 | 1,802 ms |
| コンパイル使用メモリ | 205,452 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-06-22 15:32:10 |
| 合計ジャッジ時間 | 2,668 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
コンパイルメッセージ
/home/linuxbrew/.linuxbrew/opt/dmd/include/dlang/dmd/std/numeric.d(2999): Warning: cannot inline function `std.numeric.gcdImpl!ulong.gcdImpl`
ソースコード
import std;
void main() {
long a, b, c;
readf("%d %d %d\n", a, b, c);
long X;
readf("%d\n", X);
long g = gcd(gcd(a, b), c);
writeln(X % g == 0 ? "Yes" : "No");
}
kokatsu