結果
問題 |
No.481 1から10
|
ユーザー |
![]() |
提出日時 | 2017-02-18 13:07:39 |
言語 | D (dmd 2.109.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 274 bytes |
コンパイル時間 | 584 ms |
コンパイル使用メモリ | 100,260 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-12 07:06:56 |
合計ジャッジ時間 | 1,167 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 WA * 1 |
ソースコード
import std.stdio, std.conv, std.string, std.algorithm, std.array; void main(){ string[] input = readln.split; auto arr = input.map!(to!int).array; foreach(idx, val; arr){ if(idx+1 != val){ writeln(idx+1); break; } } }