結果
問題 | No.1656 Recuperation |
ユーザー |
![]() |
提出日時 | 2021-08-28 16:55:13 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 438 bytes |
コンパイル時間 | 1,466 ms |
コンパイル使用メモリ | 167,732 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-21 21:06:51 |
合計ジャッジ時間 | 1,895 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 3 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i, n, o) for(int i = o;i < (n);i++) #define ou(x) cout << x << endl #define ll long long #define re return 0 int main(){ int t; cin >> t; vector<int> a(t); vector<int> b(t); int cnt = 0; rep(i, t, 0) { cin >> a[i] >> b[i]; } rep(i, t, 0){ cnt = b[i]; cnt += (a[i] * b[i]); ou(cnt); cnt = 0; } re; }