結果
問題 |
No.1249 小学校1年生の夢
|
ユーザー |
|
提出日時 | 2023-03-27 18:02:56 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 25 ms / 2,000 ms |
コード長 | 400 bytes |
コンパイル時間 | 994 ms |
コンパイル使用メモリ | 104,704 KB |
実行使用メモリ | 18,176 KB |
最終ジャッジ日時 | 2024-09-19 13:32:18 |
合計ジャッジ時間 | 2,567 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
コンパイルメッセージ
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 System.Numerics; class Program { static void Main() { int[] Q = Array.ConvertAll(Console.ReadLine().Split(' '), r => int.Parse(r)); if (Q[0] + Q[1] == Q[2]) { Console.WriteLine("Correct"); } else { Console.WriteLine("Incorrect"); } } }