結果
問題 | No.830 日本人の9割は90% |
ユーザー |
![]() |
提出日時 | 2019-05-24 21:20:50 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 1,230 bytes |
コンパイル時間 | 718 ms |
コンパイル使用メモリ | 81,140 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-17 10:24:39 |
合計ジャッジ時間 | 1,285 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 10 |
ソースコード
#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 0const 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);}