結果
| 問題 |
No.83 最大マッチング
|
| コンテスト | |
| ユーザー |
pirorirori_n712
|
| 提出日時 | 2018-10-03 01:21:36 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 127 ms / 5,000 ms |
| コード長 | 349 bytes |
| コンパイル時間 | 812 ms |
| コンパイル使用メモリ | 107,544 KB |
| 実行使用メモリ | 25,812 KB |
| 最終ジャッジ日時 | 2024-10-12 10:10:24 |
| 合計ジャッジ時間 | 2,061 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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