結果
問題 | No.756 チャンパーノウン定数 (1) |
ユーザー |
![]() |
提出日時 | 2018-12-04 00:02:30 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 396 bytes |
コンパイル時間 | 711 ms |
コンパイル使用メモリ | 125,056 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-13 01:59:26 |
合計ジャッジ時間 | 1,464 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
import std.stdio, std.conv, std.string, std.bigint;import std.math, std.random, std.datetime;import std.array, std.range, std.algorithm, std.container;string read(){ static string[] ss; while(!ss.length) ss = readln.chomp.split; string res = ss[0]; ss.popFront; return res; }void main(){int d = read.to!int;string w = ".";foreach(i; 1 .. 1000){w ~= i.to!string;}w[d].writeln;}