結果
| 問題 | No.369 足し間違い |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-27 14:03:13 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 276 bytes |
| 記録 | |
| コンパイル時間 | 1,027 ms |
| コンパイル使用メモリ | 210,944 KB |
| 実行使用メモリ | 11,940 KB |
| 最終ジャッジ日時 | 2026-07-04 06:41:31 |
| 合計ジャッジ時間 | 1,793 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef int64_t lint;
int main()
{
lint n;
lint a;
lint v;
lint s=0;
cin>>n;
for(lint i=0;i<n;i++){
cin>>a;
s+=a;
}
cin>>v;
cout<<s-v<<endl;
// system("pause");
}