結果
問題 | No.369 足し間違い |
ユーザー |
|
提出日時 | 2024-03-27 14:03:13 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 5 ms / 2,000 ms |
コード長 | 276 bytes |
コンパイル時間 | 1,930 ms |
コンパイル使用メモリ | 190,860 KB |
最終ジャッジ日時 | 2025-02-20 14:01:51 |
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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");}