結果
| 問題 |
No.830 日本人の9割は90%
|
| コンテスト | |
| ユーザー |
ひばち
|
| 提出日時 | 2019-05-24 21:21:06 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 21 ms / 2,000 ms |
| コード長 | 2,051 bytes |
| コンパイル時間 | 2,909 ms |
| コンパイル使用メモリ | 116,624 KB |
| 実行使用メモリ | 26,072 KB |
| 最終ジャッジ日時 | 2024-09-17 10:24:53 |
| 合計ジャッジ時間 | 1,586 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| 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;
using System.Linq;
using static System.Console;
using static System.Convert;
using static System.Math;
//using Debug;
//using static System.Globalization.CultureInfo;
//using Edge = Pair<long, int>;
using System.Text;
class Program
{
static void Main(string[] args)
{
Solve();
//WriteLine(Solve());
}
static void Solve()
{
var num = Input.num;
WriteLine(num * 10);
}
}
public class Input
{
public static string read => ReadLine().Trim();
public static int[] ar => read.Split(' ').Select(int.Parse).ToArray();
public static int num => ToInt32(read);
public static long[] arL => read.Split(' ').Select(long.Parse).ToArray();
public static long numL => ToInt64(read);
public static char[][] gred(int h)
=> Enumerable.Repeat(0, h).Select(_ => read.ToCharArray()).ToArray();
public static int[] ar1D(int n)
=> Enumerable.Repeat(0, n).Select(_ => num).ToArray();
public static long[] arL1D(int n)
=> Enumerable.Repeat(0, n).Select(_ => numL).ToArray();
public static int[][] ar2D(int n)
=> Enumerable.Repeat(0, n).Select(_ => ar).ToArray();
public static long[][] arL2D(int n)
=> Enumerable.Repeat(0, n).Select(_ => arL).ToArray();
public static T getValue<T>(string g)
{
var t = typeof(T);
if (t == typeof(int))
return (T)(object)int.Parse(g);
if (t == typeof(long))
return (T)(object)long.Parse(g);
if (t == typeof(string))
return (T)(object)g;
if (t == typeof(char))
return (T)(object)char.Parse(g);
if (t == typeof(double))
return (T)(object)double.Parse(g);
if (t == typeof(bool))
return (T)(object)bool.Parse(g);
return default(T);
}
public const long Inf = (long)1e18;
public const double eps = 1e-6;
public const string Alfa = "abcdefghijklmnopqrstuvwxyz";
public const int MOD = 1000000007;
}
ひばち