結果
| 問題 |
No.1550 nullくんの町清掃 / null's Town Cleaning
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-09-25 21:35:30 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 1,387 bytes |
| コンパイル時間 | 2,216 ms |
| コンパイル使用メモリ | 193,464 KB |
| 最終ジャッジ日時 | 2025-01-24 18:17:28 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#include "bits/stdc++.h"
using namespace std;
#define _CRT_SECURE_NO_WARNINGS
#define rep(i,s,l) for(ll i=s;i<l;i++)
#define rev_rep(i,l,s) for(ll i=l;i>=s;i--)
#define all(x) (x).begin(), (x).end()
#define uniq(v) v.erase( unique(v.begin(), v.end()), v.end() );
using ll = long long; using ld = long double;
using P = pair<ll, ll>; using VP = vector<P>;
using VI = vector<int>; using VLL = vector<ll>; using VS = vector<string>; using VC = vector<char>;
const int INF = 2147483647;
const ll LINF = 1152921504606846976;
const ll MOD = 1e9 + 7;
const ld EPS = 1e-9;
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; }
ll gcd(ll p, ll q) { while (q) { ll t = p % q; p = q; q = t; } return p; }
ll lcm(ll a, ll b) { return a * b / gcd(a, b); }
signed main()
{
const streamsize PRECISION_SIZE = 15;
ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
std::cout << std::fixed << std::setprecision(PRECISION_SIZE);
// ############################################################################################################################
ll N;
cin >> N;
cout << N % MOD << endl;
// ############################################################################################################################
return EXIT_SUCCESS;
}