結果
問題 | No.1550 nullくんの町清掃 / null's Town Cleaning |
ユーザー |
|
提出日時 | 2021-06-18 21:22:40 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 991 bytes |
コンパイル時間 | 1,403 ms |
コンパイル使用メモリ | 165,072 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-22 19:47:43 |
合計ジャッジ時間 | 1,766 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <bits/stdc++.h>using namespace std;//constantconst 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 Stucturetypedef 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(){#ifndef ONLINE_JUDGEfreopen("input.txt", "r", stdin);freopen("output.txt", "w", stdout);#endifclock_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;}