結果

問題 No.830 日本人の9割は90%
ユーザー tomarint2tomarint2
提出日時 2019-05-24 21:20:50
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 1,230 bytes
コンパイル時間 830 ms
コンパイル使用メモリ 80,992 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-17 12:14:44
合計ジャッジ時間 1,345 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,348 KB
testcase_01 AC 2 ms
4,348 KB
testcase_02 AC 1 ms
4,348 KB
testcase_03 AC 2 ms
4,348 KB
testcase_04 AC 2 ms
4,348 KB
testcase_05 AC 2 ms
4,348 KB
testcase_06 AC 2 ms
4,348 KB
testcase_07 AC 2 ms
4,348 KB
testcase_08 AC 1 ms
4,348 KB
testcase_09 AC 2 ms
4,348 KB
testcase_10 AC 2 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cstring>
#include <vector>
#include <set>
#include <list>
#include <map>
#include <unordered_map>
#include <algorithm>
#include <utility>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<ll> vll;
#define for1(i,n) for (ll i=0;i<(n);i++)
#define for2(i,m,n) for (ll i=(m);i<(n);i++)
#define for3(i,m,n,d) for (ll i=(m);i<(n);i+=(d))
#define DEBUG 0
const ll MOD = 1000000007;
template <class T>
void dumplist(T list)
{
    for (auto item : list) {
        cout << item << " ";
    }
    cout << endl;
}
ll add(ll a, ll b)
{
    return (a + b) % MOD;
}
ll sub(ll a, ll b)
{
    return (a + MOD - b) % MOD;
}
ll mul(ll a, ll b)
{
    return ((a % MOD) * (b % MOD)) % MOD;
}
ll power(ll x, ll y)
{
    if (y == 0) {
        return 1;
    }
    else if (y == 1) {
        return x % MOD;
    }
    else if (y % 2 == 0) {
        ll t = power(x, y / 2);
        return mul(t, t);
    }
    else {
        ll t = power(x, y / 2);
        return mul(mul(t, t), x);
    }
}
ll div(ll a, ll b)
{
    return mul(a, power(b, MOD - 2));
}


void solve()
{
    ll N;
    cin >> N;

    cout << N*10 << endl;
}

int main()
{
    do {
        solve();
    } while (DEBUG);
}
0