結果
問題 |
No.83 最大マッチング
|
ユーザー |
![]() |
提出日時 | 2019-07-02 02:01:09 |
言語 | D (dmd 2.109.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 285 bytes |
コンパイル時間 | 789 ms |
コンパイル使用メモリ | 101,620 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-22 01:50:21 |
合計ジャッジ時間 | 1,416 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 WA * 6 |
ソースコード
module study.yukicoder.numbers.no83;import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric; void main() { auto N = readln.chomp.to!int; char[] r; foreach (_; 0..N/2) r ~= '1'; if (N%2 == 1) r[$-1] = '7'; writeln(r); }