結果

問題 No.311 z in FizzBuzzString
ユーザー nak2yoshi
提出日時 2016-02-25 00:46:27
言語 D
(dmd 2.109.1)
結果
AC  
実行時間 1 ms / 1,500 ms
コード長 218 bytes
コンパイル時間 1,590 ms
コンパイル使用メモリ 105,580 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-24 21:35:20
合計ジャッジ時間 2,120 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.stdio,
       std.conv,
       std.string,
       std.range,
       std.math,
       std.bigint,
       std.algorithm;

void main()
{
    auto N = readln.strip.to!long;

    ((N / 3 + N / 5) * 2).writeln;
}
0