結果
| 問題 |
No.83 最大マッチング
|
| コンテスト | |
| ユーザー |
diginatu
|
| 提出日時 | 2014-12-02 23:38:34 |
| 言語 | D (dmd 2.109.1) |
| 結果 |
AC
|
| 実行時間 | 14 ms / 5,000 ms |
| コード長 | 273 bytes |
| コンパイル時間 | 818 ms |
| コンパイル使用メモリ | 99,272 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-12 01:42:45 |
| 合計ジャッジ時間 | 1,419 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
import std.stdio, std.conv, std.math, std.string, std.range, std.array,
std.algorithm;
void main(){
auto N = readln().strip().to!int();
if(N%2) write(7);
else write(1);
foreach(int i; 0 .. N / 2 - 1) {
write(1);
}
writeln();
}
diginatu