結果

問題 No.51 やる気の問題
ユーザー diginatu
提出日時 2014-10-29 00:13:24
言語 D
(dmd 2.109.1)
結果
AC  
実行時間 4 ms / 5,000 ms
コード長 207 bytes
コンパイル時間 718 ms
コンパイル使用メモリ 98,840 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-12 01:28:10
合計ジャッジ時間 1,314 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.stdio, std.string, std.conv
,std.array,std.algorithm, std.range;

void main(){
  reduce!"a - a/b/b"(readln().strip().to!int(), iota(2, 1+readln().strip().to!int()).array.reverse).writeln();
}
0