結果
問題 |
No.369 足し間違い
|
ユーザー |
|
提出日時 | 2016-05-13 22:27:50 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 422 bytes |
コンパイル時間 | 896 ms |
コンパイル使用メモリ | 103,808 KB |
実行使用メモリ | 48,252 KB |
最終ジャッジ日時 | 2024-10-05 16:51:20 |
合計ジャッジ時間 | 4,351 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 1 TLE * 1 -- * 3 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class A { static int N, v; static int[] a; static int ans = 0; static void Main() { Read(); Console.WriteLine(ans); } static void Read() { N = int.Parse(Console.ReadLine()); string s = Console.ReadLine(); for(int i = 0; i < N; i++) { ans += int.Parse(s.Split(' ')[i]); } ans -= int.Parse(Console.ReadLine()); } }