結果

問題 No.1550 nullくんの町清掃 / null's Town Cleaning
ユーザー BlackdarkBlackdark
提出日時 2021-06-18 21:25:03
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 2,495 bytes
コンパイル時間 1,435 ms
コンパイル使用メモリ 164,420 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-04 22:23:19
合計ジャッジ時間 2,031 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

/* Replace the main library with other libraries
#include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <chrono>
#include <cmath>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <vector>
*/
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef vector<ll> vll;
typedef vector<char> vc;
typedef vector<bool> vb;
typedef pair<int, int> pi;
typedef vector<int> vi;
typedef vector<pi> vpi;
typedef vector<vi> vvi;
typedef vector<vb> vvb;
typedef queue<int> qi;
typedef deque<int> di;
typedef stack<int> sti;
typedef set<int> si;
#define FAST cin.tie(nullptr); cout.tie(nullptr); ios::sync_with_stdio(false);
#define BFOR(type, i, a, b, param) for (type i = a; (param == 1) ? i >= b : i > b; --i)
#define FFOR(type, i, a, b, param) for (type i = a; (param == 1) ? i <= b : i < b; ++i)
#define VECFOR(type, i, v) for (type &i : v)
#define SORT(v) sort(v.begin(), v.end())
#define REVSORT(v) sort(v.begin(), v.end(), greater<int>())
#define REV(v) reverse(v.begin(), v.end())
#define SZ(v) *(int*)v.size()
#define MP make_pair
#define PB push_back
#define F first
#define S second
#define INF (int*)1e9
#define EPS 1e-7
#define PI 3.1415926535897932384626433832795
#define MOD 1000000007

ll m, n, t, a, b, c, d, e, f;

void dbug() {cerr << '\n';}
void reverse(string &a){reverse(a.begin(),a.end());}
template<class T>void chkmin(T &x,const T &y){if(y<x)x=y;}
template<class T>void chkmax(T &x,const T &y){if(y>x)x=y;}
template<class T>void sort(vector<T> &a){sort(a.begin(),a.end());}
template<class T>void reverse(vector<T> &a){reverse(a.begin(),a.end());}
template<class T,class Cmp>void sort(vector<T> &a,Cmp cmp){sort(a.begin(),a.end(),cmp);}
template<class T>void unique(vector<T> &a){a.resize(unique(a.begin(),a.end())-a.begin());}
template<class T>void intcmp(const T* a, const T* b) {return *(T*)a < *(T*)b ? -1 : *(T*)a > *(T*)b ? 1 : 0;}
template<class T>void gcd(T* a, T* b) {return b == 0 ? *(T*)a : *(T*)a % *(T*)b;}
template<class T>void lcm(T* a, T* b) {return (*(T*)a / gcd((T*)a, (T*)b)) * *(T*)b;}
template<class T>void getIndex(const vector<T> &v, const void* K) {
	auto it = find(v.begin(), v.end(), *(T*)K);
	return it != v.end() ? it - v.begin() : -1;
}

void solve() {

}

int main() {
	FAST

    cin >> t;
    cout << t % MOD << '\n';
	return 0;
}
0