結果
問題 |
No.51 やる気の問題
|
ユーザー |
![]() |
提出日時 | 2014-10-29 00:03:39 |
言語 | D (dmd 2.109.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 210 bytes |
コンパイル時間 | 607 ms |
コンパイル使用メモリ | 102,004 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-12 01:27:59 |
合計ジャッジ時間 | 1,965 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 RE * 6 |
ソースコード
import std.stdio, std.string, std.conv ,std.array,std.algorithm, std.range; void main(){ reduce!"a - a/(b^^2)"(readln().strip().to!int(), iota(2, 1+readln().strip().to!int()).array.reverse).writeln(); }