結果
問題 | No.83 最大マッチング |
ユーザー |
![]() |
提出日時 | 2016-02-19 00:51:41 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 12 ms / 5,000 ms |
コード長 | 245 bytes |
コンパイル時間 | 655 ms |
コンパイル使用メモリ | 103,064 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-12 02:56:04 |
合計ジャッジ時間 | 1,254 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
import std.stdio,std.conv,std.string,std.range,std.math,std.algorithm;void main(){auto N = readln.strip.to!int;(N % 2 ? 7 : 1).write;iota(N / 2 - 1).each!(_ => write(1));writeln;}