結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー RA8cHW6UXtOaTw3RA8cHW6UXtOaTw3
提出日時 2020-10-22 20:29:00
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 950 bytes
コンパイル時間 1,615 ms
コンパイル使用メモリ 162,628 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-28 14:50:30
合計ジャッジ時間 2,161 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,380 KB
testcase_01 AC 1 ms
4,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
// #include <atcoder/all>
#define rep(i,n) for(int i = 0;i<n;i++)
using namespace std;
// using namespace atcoder;
typedef pair<int,int> P;
typedef long long ll;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0;}
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0;}

// using mint = modint1000000007;
// struct combination {
//     vector<mint> fact,ifact;
//     combination(int n): fact(n+1),ifact(n+1) {
//         fact[0] = 1;
//         for(int i = 1; i <= n;i++) fact[i] = fact[i-1]*i;
//         ifact[n] = fact[n].inv();
//         for(int i = n;i>=1;i--) ifact[i-1] = ifact[i]*i;
//     }
//     mint operator ()(int n,int k) {
//         if(k < 0 || k > n) return 0;
//         return fact[n]*ifact[k]*ifact[n-k];
//     }
// };


int main() {
    int a,b;
    string s;
    cin >> a >> b >> s;
    cout << a + b << " " << s << endl;
}
0