結果

問題 No.1936 Rational Approximation
ユーザー gs18115gs18115
提出日時 2022-05-13 22:11:11
言語 C++14
(gcc 11.2.0 + boost 1.78.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 515 bytes
コンパイル時間 423 ms
使用メモリ 8,320 KB
最終ジャッジ日時 2023-02-21 14:49:42
合計ジャッジ時間 1,866 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 1 ms
8,212 KB
testcase_01 AC 2 ms
8,244 KB
testcase_02 AC 2 ms
8,224 KB
testcase_03 AC 1 ms
8,248 KB
testcase_04 AC 1 ms
8,208 KB
testcase_05 AC 1 ms
8,252 KB
testcase_06 AC 2 ms
8,320 KB
testcase_07 AC 1 ms
8,244 KB
testcase_08 AC 2 ms
8,224 KB
testcase_09 AC 1 ms
8,236 KB
testcase_10 AC 1 ms
8,252 KB
testcase_11 AC 2 ms
8,216 KB
testcase_12 AC 1 ms
8,212 KB
testcase_13 AC 1 ms
8,316 KB
testcase_14 AC 1 ms
8,228 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<vector>
#include<algorithm>
#define ep emplace
#define eb emplace_back
#define fi first
#define se second
#define all(x) (x).begin(),(x).end()
using namespace std;
typedef long long ll;
typedef pair<int,int>pi;
typedef pair<ll,ll>pl;
const int inf=1e9+7;
const ll INF=1e18;
int dp[101][101][101][4];
int va[4140101];
int vb[440101];
int vc[4140101];
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);
    int a,b;
    cin>>a>>b;
    cout<<a+b<<endl;
    return 0;
}
0