結果
問題 |
No.81 すべて足すだけの簡単なお仕事です。
|
ユーザー |
![]() |
提出日時 | 2016-12-26 22:10:32 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 277 bytes |
コンパイル時間 | 3,552 ms |
コンパイル使用メモリ | 105,740 KB |
実行使用メモリ | 28,208 KB |
最終ジャッジ日時 | 2024-12-15 00:43:50 |
合計ジャッジ時間 | 5,295 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 WA * 5 |
コンパイルメッセージ
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() { int n = int.Parse(Console.ReadLine()); decimal s = 0m; for (int i = 0; i < n; i++) s += decimal.Parse(Console.ReadLine()); Console.WriteLine("{0:.0000000000}", s); } }