結果
問題 |
No.508 超ゆとり教育
|
ユーザー |
![]() |
提出日時 | 2017-05-10 22:31:44 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 692 bytes |
コンパイル時間 | 1,866 ms |
コンパイル使用メモリ | 104,064 KB |
実行使用メモリ | 17,920 KB |
最終ジャッジ日時 | 2024-09-15 07:13:36 |
合計ジャッジ時間 | 2,978 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 6 RE * 1 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class Program { private static readonly Scanner sc = new Scanner(); static void Main(string[] args) { int n = sc.Int; Console.WriteLine(1000000); } } class Scanner { private string[] _str = new string[0]; private int _i; public string Str { get { if (_i >= _str.Length) { _str = Console.ReadLine().Split(' '); _i = 0; } return _str[_i++]; } } public int Int { get { return int.Parse(Str); } } public long Long { get { return long.Parse(Str); } } public double Double { get { return double.Parse(Str); } } }