結果

問題 No.1550 nullくんの町清掃 / null's Town Cleaning
ユーザー Ashes MondalAshes Mondal
提出日時 2021-06-18 21:26:35
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 873 bytes
コンパイル時間 1,438 ms
コンパイル使用メモリ 143,520 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-04 22:24:39
合計ジャッジ時間 1,807 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
//constant
const int MOD = 1e9 + 7;
//Shortcuts
#define ll long long
#define sz(x) (int)x.size()
#define pb push_back
#define lcm(a, b) (a * b != 0 ? a * b / __gcd(a, b) : 0)
#define f0(i, n) for (int i = 0; i < n; i++)
#define f1(i, n) for (int i = 1; i <= n; i++)
#define all(x) x.begin(), x.end()
#define sortall(x) sort(all(x))
#define debug(...) fprintf(stderr, __VA_ARGS__), fflush(stderr)
//Data Stucture
typedef array<int, 2> pi;
typedef vector<int> vi;
typedef vector<pi> vpi;
typedef set<int> si;
typedef map<int, int> mpi;

void solve()
{
  ll n;cin>>n;cout<<n%MOD;
}

int main()
{
    clock_t z = clock();
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    int t = 1;
    // cin >> t;
    while (t--)
        solve();
    debug("Total Time: %.7f", (double)(clock() - z) / CLOCKS_PER_SEC);
    return 0;
}
0