結果
問題 | No.353 ヘイトプラス |
ユーザー |
|
提出日時 | 2019-10-03 23:06:55 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 565 bytes |
コンパイル時間 | 652 ms |
コンパイル使用メモリ | 69,476 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-03 22:46:45 |
合計ジャッジ時間 | 1,336 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 |
ソースコード
/**@file 353.cpp@title No.353 ヘイトプラス - yukicoder@url https://yukicoder.me/problems/no/353**/#include <iostream>#include <string>#include <vector>#include <numeric>using namespace std;typedef long long LL;#define ALL(obj) (obj).begin(), (obj).end()#define OUT(x) cout << (x) << "\n"void iostream_init() {ios::sync_with_stdio(false);cin.tie(0);cout.setf(ios::fixed);cout.precision(12);}int main() {::iostream_init();vector<LL> AB(2, 0);cin >> AB[0] >> AB[1];OUT(accumulate(ALL(AB), 0));return 0;}