結果
| 問題 |
No.369 足し間違い
|
| コンテスト | |
| ユーザー |
kiridaruma
|
| 提出日時 | 2016-05-16 13:26:11 |
| 言語 | D (dmd 2.109.1) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 239 bytes |
| コンパイル時間 | 668 ms |
| コンパイル使用メモリ | 100,352 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-12 03:30:08 |
| 合計ジャッジ時間 | 1,343 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 |
ソースコード
import std.stdio, std.string, std.conv;
import std.algorithm, std.array;
void main(){
readln;
int[] arr = readln.strip.split.map!(to!int).array;
int wans = readln.strip.to!int;
int sum = arr.sum;
writeln(sum - wans);
}
kiridaruma