結果
問題 | No.481 1から10 |
ユーザー | Cinnamon |
提出日時 | 2017-05-15 19:32:02 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 61 ms / 2,000 ms |
コード長 | 490 bytes |
コンパイル時間 | 3,313 ms |
コンパイル使用メモリ | 103,016 KB |
実行使用メモリ | 22,816 KB |
最終ジャッジ日時 | 2023-10-14 13:23:57 |
合計ジャッジ時間 | 3,361 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 60 ms
20,736 KB |
testcase_01 | AC | 60 ms
20,700 KB |
testcase_02 | AC | 61 ms
20,832 KB |
testcase_03 | AC | 60 ms
20,700 KB |
testcase_04 | AC | 61 ms
18,644 KB |
testcase_05 | AC | 60 ms
20,720 KB |
testcase_06 | AC | 61 ms
22,744 KB |
testcase_07 | AC | 60 ms
20,780 KB |
testcase_08 | AC | 60 ms
22,816 KB |
testcase_09 | AC | 58 ms
20,740 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 { static void Main(string[] args) { string s = Console.ReadLine(); string[] t = s.Split(' '); if (int.Parse(t[8])==9) Console.WriteLine("10"); for (int i = 0; i < 9; ++i) { if (int.Parse(t[i]) != (i + 1)) { Console.WriteLine("{0}", i + 1); break; } } } }