結果
問題 |
No.353 ヘイトプラス
|
ユーザー |
|
提出日時 | 2019-07-19 20:16:20 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 317 bytes |
コンパイル時間 | 664 ms |
コンパイル使用メモリ | 74,088 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-03 22:45:09 |
合計ジャッジ時間 | 1,121 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 |
ソースコード
#include <iostream> #include <functional> #include <algorithm> #include <vector> using namespace std; int main(int argc, char *argv[]) { vector<int> a(1), b(1); cin >> a[0] >> b[0]; vector<int> res(1); transform(a.begin(), a.end(), b.begin(), res.begin(), plus<int>()); cout << res[0] << endl; return 0; }