結果
| 問題 | No.83 最大マッチング |
| コンテスト | |
| ユーザー |
pirorirori_n712
|
| 提出日時 | 2018-10-03 01:21:36 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 80 ms / 5,000 ms |
| + 736µs | |
| コード長 | 349 bytes |
| 記録 | |
| コンパイル時間 | 456 ms |
| コンパイル使用メモリ | 103,168 KB |
| 実行使用メモリ | 19,584 KB |
| 最終ジャッジ日時 | 2026-09-14 16:29:11 |
| 合計ジャッジ時間 | 2,131 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.Collections.Generic;
class No83{
static void Main(){
var num=Int32.Parse(Console.ReadLine());
var length=num/2;
var isOdd=num%2!=0;
for(int i=0;i<length;++i){
if(isOdd&&i==0)Console.Write(7);
else Console.Write(1);
}
Console.WriteLine();
}
}
pirorirori_n712