結果
問題 | No.508 超ゆとり教育 |
ユーザー | nmgm221 |
提出日時 | 2017-05-10 22:31:44 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 692 bytes |
コンパイル時間 | 4,262 ms |
コンパイル使用メモリ | 100,916 KB |
実行使用メモリ | 22,780 KB |
最終ジャッジ日時 | 2023-10-13 10:07:58 |
合計ジャッジ時間 | 4,859 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | AC | 57 ms
20,688 KB |
testcase_02 | AC | 58 ms
20,716 KB |
testcase_03 | AC | 57 ms
20,656 KB |
testcase_04 | AC | 57 ms
20,868 KB |
testcase_05 | AC | 56 ms
20,768 KB |
testcase_06 | AC | 57 ms
22,764 KB |
testcase_07 | AC | 57 ms
22,780 KB |
コンパイルメッセージ
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); } } }