結果
問題 | No.1656 Recuperation |
ユーザー | monnu |
提出日時 | 2021-08-27 21:42:59 |
言語 | C++14 (gcc 13.2.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 325 bytes |
コンパイル時間 | 3,480 ms |
コンパイル使用メモリ | 226,688 KB |
実行使用メモリ | 4,384 KB |
最終ジャッジ日時 | 2023-08-13 08:24:36 |
合計ジャッジ時間 | 3,942 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,380 KB |
testcase_01 | AC | 2 ms
4,380 KB |
testcase_02 | AC | 1 ms
4,380 KB |
testcase_03 | AC | 2 ms
4,384 KB |
ソースコード
#include <bits/stdc++.h> using namespace std; #include <atcoder/all> using namespace atcoder; using ll=long long; using Graph=vector<vector<int>>; #define MAX 2000000 #define MOD 998244353 #define INF 1000000000 int main(){ int T; cin>>T; for(int t=0;t<T;t++){ int A,B; cin>>A>>B; cout<<A*B+B<<'\n'; } }