結果
問題 |
No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
![]() |
提出日時 | 2018-02-22 03:30:06 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 276 bytes |
コンパイル時間 | 2,470 ms |
コンパイル使用メモリ | 101,760 KB |
実行使用メモリ | 17,792 KB |
最終ジャッジ日時 | 2024-09-22 02:03:46 |
合計ジャッジ時間 | 3,872 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 RE * 3 |
other | AC * 1 WA * 8 RE * 6 |
コンパイルメッセージ
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 static System.Console; class Program { static void Main() { var s = 0L; for (int i = 0; i < int.Parse(ReadLine()); i++) s += long.Parse(ReadLine()); WriteLine(s); } }