結果

問題 No.481 1から10
ユーザー k-a-rgbk-a-rgb
提出日時 2023-09-13 13:40:48
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 542 bytes
コンパイル時間 2,303 ms
コンパイル使用メモリ 106,864 KB
実行使用メモリ 23,904 KB
最終ジャッジ日時 2023-09-13 13:40:53
合計ジャッジ時間 3,659 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
23,776 KB
testcase_01 AC 62 ms
21,956 KB
testcase_02 AC 61 ms
21,820 KB
testcase_03 AC 62 ms
19,768 KB
testcase_04 AC 62 ms
21,816 KB
testcase_05 AC 62 ms
23,896 KB
testcase_06 AC 62 ms
23,868 KB
testcase_07 AC 62 ms
21,856 KB
testcase_08 AC 62 ms
21,872 KB
testcase_09 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;

namespace PracticeAtCoder
{
    class Program
    {
        static void Main(string[] args)
        {
			
			//1-10
			string sC = Console.ReadLine();
			string[] sD = sC.Split(' ');
			int[] after = sD.Select(s => int.Parse(s)).ToArray();
			
			int flg = 0 ;
			int intA = 0;
			int intB=0;
			
			for(int i=0; i<9;i++){
				intA = after[i];
				intB = i+1;
				if(intA != intB){
					flg = i+1;
					Console.WriteLine(flg);
					break;
				
				}
			}
			
			
		}
    }
}
0