problem_id stringlengths 6 6 | buggy_code stringlengths 8 526k | fixed_code stringlengths 12 526k | labels listlengths 0 15 ⌀ | buggy_submission_id int64 1 1.54M | fixed_submission_id int64 2 1.54M | user_id stringlengths 10 10 | language stringclasses 8
values |
|---|---|---|---|---|---|---|---|
p02554 | #include <iostream>
using ll = long long;
using namespace std;
int main() {
ll N;
ll mod = 1000000007;
cin >> N;
ll ten = 1;
ll eight = 1;
ll nine = 1;
for (ll i = 0; i < N; i++) {
ten *= 10;
eight *= 8;
nine *= 9;
ten %= mod;
eight %= mod;
nine %= mod;
}
ll res = ten + eight -... | #include <iostream>
using ll = long long;
using namespace std;
int main() {
ll N;
ll mod = 1000000007;
cin >> N;
ll ten = 1;
ll eight = 1;
ll nine = 1;
for (ll i = 0; i < N; i++) {
ten *= 10;
eight *= 8;
nine *= 9;
ten %= mod;
eight %= mod;
nine %= mod;
}
ll res = ten + eight -... | [
"assignment.add"
] | 251,190 | 251,191 | u529973556 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pii pair<int, int>
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define sz(x) (int)x.size()
#define pb push_back
#define faster \
ios_base::sync_with_stdio... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pii pair<int, int>
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define sz(x) (int)x.size()
#define pb push_back
#define faster \
ios_base::sync_with_stdio... | [
"expression.operator.arithmetic.change",
"io.output.change"
] | 251,204 | 251,203 | u448984056 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pii pair<int, int>
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define sz(x) (int)x.size()
#define pb push_back
#define faster \
ios_base::sync_with_stdio... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pii pair<int, int>
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define sz(x) (int)x.size()
#define pb push_back
#define faster \
ios_base::sync_with_stdio... | [
"expression.operation.binary.remove",
"expression.operator.arithmetic.change",
"io.output.change"
] | 251,205 | 251,203 | u448984056 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pii pair<int, int>
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define sz(x) (int)x.size()
#define pb push_back
#define faster \
ios_base::sync_with_stdio... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pii pair<int, int>
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define sz(x) (int)x.size()
#define pb push_back
#define faster \
ios_base::sync_with_stdio... | [
"expression.operation.binary.remove",
"expression.operator.arithmetic.change",
"io.output.change"
] | 251,206 | 251,203 | u448984056 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pii pair<int, int>
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define sz(x) (int)x.size()
#define pb push_back
#define faster \
ios_base::sync_with_stdio... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pii pair<int, int>
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define sz(x) (int)x.size()
#define pb push_back
#define faster \
ios_base::sync_with_stdio... | [
"expression.operation.binary.add"
] | 251,207 | 251,203 | u448984056 | cpp |
p02554 | #include <iostream>
using namespace std;
constexpr long long MOD = 1000000007;
long long pow_mod(long long b, long long e) {
long long res = 1;
for (long long i = 0; i < e; i++)
res = (res * b) % MOD;
return res;
}
int main() {
long long n;
cin >> n;
long long res =
((pow_mod(10, n) - (2ll * p... | #include <iostream>
using namespace std;
constexpr long long MOD = 1000000007;
long long pow_mod(long long b, long long e) {
long long res = 1;
for (long long i = 0; i < e; i++)
res = (res * b) % MOD;
return res;
}
int main() {
long long n;
cin >> n;
long long res =
((pow_mod(10, n) - (2ll * p... | [
"expression.operation.binary.add"
] | 251,210 | 251,211 | u198710980 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
/******* All Required define Pre-Processors and Constants *******/
#define int long long
#define ull unsigned long long
#define ld long double
#define mem(a, b) memset(a, (b), sizeof(a))
#define rep(i, j, k) for (int i = j; i < k; ++i)
#define rrep(i, j, k) for (int i ... | #include <bits/stdc++.h>
using namespace std;
/******* All Required define Pre-Processors and Constants *******/
#define int long long
#define ull unsigned long long
#define ld long double
#define mem(a, b) memset(a, (b), sizeof(a))
#define rep(i, j, k) for (int i = j; i < k; ++i)
#define rrep(i, j, k) for (int i ... | [
"assignment.change"
] | 251,214 | 251,215 | u242049402 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
/******* All Required define Pre-Processors and Constants *******/
#define int long long
#define ull unsigned long long
#define ld long double
#define mem(a, b) memset(a, (b), sizeof(a))
#define rep(i, j, k) for (int i = j; i < k; ++i)
#define rrep(i, j, k) for (int i ... | #include <bits/stdc++.h>
using namespace std;
/******* All Required define Pre-Processors and Constants *******/
#define int long long
#define ull unsigned long long
#define ld long double
#define mem(a, b) memset(a, (b), sizeof(a))
#define rep(i, j, k) for (int i = j; i < k; ++i)
#define rrep(i, j, k) for (int i ... | [
"assignment.change"
] | 251,216 | 251,215 | u242049402 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;
using pint = pair<int, int>;
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};
const int MOD = 1000000007;
const long long INF = 1LL << 60;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a =... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;
using pint = pair<int, int>;
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};
const int MOD = 1000000007;
const long long INF = 1LL << 60;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a =... | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 251,219 | 251,220 | u998732100 | cpp |
p02554 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
const int M = 1000000007;
long long powmod(long long x, long long y) {
long long res = 1;
for (long long i = 0; i < y; i++) {
res *= x % M;
}
return res;
}
int main() {
int N;
cin >> N;
long long ans = powmod(10, N) - po... | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
const int M = 1000000007;
long long powmod(long long x, long long y) {
long long res = 1;
for (long long i = 0; i < y; i++) {
res = res * x % M;
}
return res;
}
int main() {
int N;
cin >> N;
long long ans = powmod(10, N)... | [
"assignment.value.change",
"assignment.change"
] | 251,225 | 251,226 | u492244370 | cpp |
p02554 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
const int INF = 1e9;
const int dx[] = {-1, 0, 1, 0};
const int dy[] = {0, -1, 0, 1};
#define PI 3.14159265358979323846264338327950L
#define MOD 1000000007
// setprecision(15)
ll ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
const int INF = 1e9;
const int dx[] = {-1, 0, 1, 0};
const int dy[] = {0, -1, 0, 1};
#define PI 3.14159265358979323846264338327950L
#define MOD 1000000007
// setprecision(15)
ll ... | [
"assignment.change"
] | 251,227 | 251,228 | u624076058 | cpp |
p02554 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
const int INF = 1e9;
const int dx[] = {-1, 0, 1, 0};
const int dy[] = {0, -1, 0, 1};
#define PI 3.14159265358979323846264338327950L
#define MOD 1000000007
// setprecision(15)
ll ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
const int INF = 1e9;
const int dx[] = {-1, 0, 1, 0};
const int dy[] = {0, -1, 0, 1};
#define PI 3.14159265358979323846264338327950L
#define MOD 1000000007
// setprecision(15)
ll ... | [
"variable_declaration.type.change",
"assignment.change"
] | 251,229 | 251,228 | u624076058 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
using i64 = long long;
#define endl "\n"
i64 MOD = 1e9 + 7;
i64 pow(i64 x, i64 n) {
i64 r = 1;
for (i64 i = 0; i < n; i++)
r = r * x % MOD;
return r;
}
int main() {
i64 N;
cin >> N;
i64 ans = pow(10LL, N) + pow(8LL, N) - pow(9LL, N) * 2;
cout << (ans + ... | #include <bits/stdc++.h>
using namespace std;
using i64 = long long;
#define endl "\n"
i64 MOD = 1e9 + 7;
i64 pow(i64 x, i64 n) {
i64 r = 1;
for (i64 i = 0; i < n; i++)
r = r * x % MOD;
return r;
}
int main() {
i64 N;
cin >> N;
i64 ans = pow(10LL, N) + pow(8LL, N) - pow(9LL, N) * 2;
cout << (ans + ... | [
"expression.operation.binary.add"
] | 251,230 | 251,231 | u623115612 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define mod 1000000007
ll powmd(ll a, ll b) {
ll ans = 1;
while (b) {
if (b & 1) {
ans = (ans * a) % mod;
}
a = (a * a) % mod;
b = b >> 1;
}
return (ans);
}
int main() {
ll n;
cin >> n;
if (n <= 2) {
cout << 0 <... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define mod 1000000007
ll powmd(ll a, ll b) {
ll ans = 1;
while (b) {
if (b & 1) {
ans = (ans * a) % mod;
}
a = (a * a) % mod;
b = b >> 1;
}
return (ans);
}
int main() {
ll n;
cin >> n;
if (n < 2) {
cout << 0 <<... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 251,232 | 251,233 | u643355770 | cpp |
p02554 | #include <iostream>
using namespace std;
using ll = long long;
constexpr ll M = 1e9 + 7;
#define MOD(a, b) ((((ll)(a) % M) * ((ll)(b) % M)) % M)
ll mypw(int x, int n) {
if (n <= 0)
return 1;
if (n == 1)
return x;
ll k = mypw(x, n / 2);
k = MOD(k, k);
if (n % 2 == 0) {
return k;
} else {
retu... | #include <iostream>
using namespace std;
using ll = long long;
constexpr ll M = 1e9 + 7;
#define MOD(a, b) ((((ll)(a) % M) * ((ll)(b) % M)) % M)
ll mypw(int x, int n) {
if (n <= 0)
return 1;
if (n == 1)
return x;
ll k = mypw(x, n / 2);
k = MOD(k, k);
if (n % 2 == 0) {
return k;
} else {
retu... | [
"expression.operation.binary.add"
] | 251,239 | 251,240 | u219041750 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define int long long
int32_t main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n;
cin >> n;
if (n <= 1)
cout << 0 << endl;
else if (n == 2)
cout << 2 << endl;
else {
int ans = 1, nonzero = 1, nonnine = 1, n... | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define int long long
int32_t main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n;
cin >> n;
if (n <= 1)
cout << 0 << endl;
else if (n == 2)
cout << 2 << endl;
else {
int ans = 1, nonzero = 1, nonnine = 1, n... | [] | 251,248 | 251,249 | u621231159 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
const long long mx = 1e5 + 5;
#define inf INT_MAX
#define zero INT_MIN
#define PI acos(-1.0) // 3.1415926535897932
#define Case(J) printf("Case %lld: %lld\n", ++count, J); /// print case
#define max3(a, b, c... | #include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
const long long mx = 1e5 + 5;
#define inf INT_MAX
#define zero INT_MIN
#define PI acos(-1.0) // 3.1415926535897932
#define Case(J) printf("Case %lld: %lld\n", ++count, J); /// print case
#define max3(a, b, c... | [
"expression.operation.binary.add"
] | 251,252 | 251,253 | u714672567 | cpp |
p02554 | #include <bits/stdc++.h>
#define int long long
#define mod 1000000007
using namespace std;
signed main() {
int n, semua, atau, dua;
cin >> n;
semua = atau = dua = 1;
for (int i = 0; i < n; i++) {
semua = (10 * semua + mod) % mod;
atau = (9 * atau + mod) % mod;
dua = (8 * dua + mod) % mod;
}
cou... | #include <bits/stdc++.h>
#define int long long
#define mod 1000000007
using namespace std;
signed main() {
int n, semua, atau, dua;
cin >> n;
semua = atau = dua = 1;
for (int i = 0; i < n; i++) {
semua = (10 * semua + mod) % mod;
atau = (9 * atau + mod) % mod;
dua = (8 * dua + mod) % mod;
}
cou... | [
"expression.operation.binary.add"
] | 251,254 | 251,255 | u366115390 | cpp |
p02554 | #include <bits/stdc++.h>
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define endl "\n"
#define ALL(a) ... | #include <bits/stdc++.h>
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define endl "\n"
#define ALL(a) ... | [
"expression.operation.binary.add"
] | 251,260 | 251,261 | u866535689 | cpp |
p02554 | #include <bits/stdc++.h>
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define endl "\n"
#define ALL(a) ... | #include <bits/stdc++.h>
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define endl "\n"
#define ALL(a) ... | [
"expression.operation.binary.add"
] | 251,262 | 251,261 | u866535689 | cpp |
p02554 | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); ++i)
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
using namespace s... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); ++i)
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
using namespace s... | [
"assignment.add"
] | 251,265 | 251,266 | u446371873 | cpp |
p02554 | // #pragma GCC optimize("Ofast")
// #pragma GCC target("avx,avx2,fma")
// #pragma GCC optimization ("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
/********************************************************************/
#define M1 1000000007
#define M3 1000000009
#define M2 998244353
#define ll long long
... | // #pragma GCC optimize("Ofast")
// #pragma GCC target("avx,avx2,fma")
// #pragma GCC optimization ("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
/********************************************************************/
#define M1 1000000007
#define M3 1000000009
#define M2 998244353
#define ll long long
... | [
"assignment.change"
] | 251,267 | 251,268 | u228592906 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<string, string> pss;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<pii> vii;
typedef vector<ll> vl;
typedef vector<vl> vvl;
double EPS = 1e-9;
int INF = 1000000005;
l... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<string, string> pss;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<pii> vii;
typedef vector<ll> vl;
typedef vector<vl> vvl;
double EPS = 1e-9;
int INF = 1000000005;
l... | [
"assignment.change"
] | 251,273 | 251,274 | u040094338 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define pie 3.1415926536
#define pb push_back
#define N 1000000007
#define M 998244353
#define rep(i, a, b) for (int i = a; i <= b; i++)
#define nrep(i, a, b) for (int i = a; i >= b; i--)
#define pl pair<ll, ll>
#define pi pair<... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define pie 3.1415926536
#define pb push_back
#define N 1000000007
#define M 998244353
#define rep(i, a, b) for (int i = a; i <= b; i++)
#define nrep(i, a, b) for (int i = a; i >= b; i--)
#define pl pair<ll, ll>
#define pi pair<... | [
"assignment.change"
] | 251,277 | 251,278 | u277114826 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define pie 3.1415926536
#define pb push_back
#define N 1000000007
#define M 998244353
#define rep(i, a, b) for (int i = a; i <= b; i++)
#define nrep(i, a, b) for (int i = a; i >= b; i--)
#define pl pair<ll, ll>
#define pi pair<... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define pie 3.1415926536
#define pb push_back
#define N 1000000007
#define M 998244353
#define rep(i, a, b) for (int i = a; i <= b; i++)
#define nrep(i, a, b) for (int i = a; i >= b; i--)
#define pl pair<ll, ll>
#define pi pair<... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 251,279 | 251,278 | u277114826 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define lln long long int
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0);
const int MOD = 1e9 + 7;
int main() {
IOS;
in... | #include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define lln long long int
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0);
const int MOD = 1e9 + 7;
int main() {
IOS;
in... | [
"expression.operation.binary.add"
] | 251,285 | 251,286 | u039687667 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
/*
ll modpow(ll x,ll y,ll mod){
ll res=1;
for(ll i=0;i<y;i++){
res=res*x%mod;
}
return res;
}*/
unsigned long long modpow(unsigned long long a, unsigned long long n,
unsigned long long mod) {
unsigned... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
/*
ll modpow(ll x,ll y,ll mod){
ll res=1;
for(ll i=0;i<y;i++){
res=res*x%mod;
}
return res;
}*/
long long modpow(long long a, long long n, long long mod) {
long long res = 1;
while (n > 0) {
if (n & 1)
res = res % ... | [
"variable_declaration.type.narrow.change"
] | 251,289 | 251,290 | u000582888 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
/*
ll modpow(ll x,ll y,ll mod){
ll res=1;
for(ll i=0;i<y;i++){
res=res*x%mod;
}
return res;
}*/
unsigned long long modpow(unsigned long long a, unsigned long long n,
unsigned long long mod) {
unsigned... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
/*
ll modpow(ll x,ll y,ll mod){
ll res=1;
for(ll i=0;i<y;i++){
res=res*x%mod;
}
return res;
}*/
long long modpow(long long a, long long n, long long mod) {
long long res = 1;
for (ll i = 0; i < n; i++) {
res = res * a % ... | [
"variable_declaration.type.narrow.change"
] | 251,291 | 251,292 | u000582888 | cpp |
p02554 | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
#define _USE_MATH_DEFINES
#include <math.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define NIL = -1;
#define all(x) x.begin(), x.end()
const ll INF = 1LL << 60;
const ll mod = 1e9 + 7;
int digit(ll x) {
if (x / 10 == 0)
return 1;
return... | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
#define _USE_MATH_DEFINES
#include <math.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define NIL = -1;
#define all(x) x.begin(), x.end()
const ll INF = 1LL << 60;
const ll mod = 1e9 + 7;
int digit(ll x) {
if (x / 10 == 0)
return 1;
return... | [
"assignment.add"
] | 251,293 | 251,294 | u111600809 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
const ll mm = 1e9 + 7;
ll kai(ll a, ll b) {
ll ans = 1;
while (a > b) {
ans = (ans * a) % mm;
a--;
}
return ans;
}
ll joyou(ll a, ll b) {
ll ans = 1;
while (b) {
ans *= a;
ans %= mm;
b--;
}
... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
const ll mm = 1e9 + 7;
ll kai(ll a, ll b) {
ll ans = 1;
while (a > b) {
ans = (ans * a) % mm;
a--;
}
return ans;
}
ll joyou(ll a, ll b) {
ll ans = 1;
while (b) {
ans *= a;
ans %= mm;
b--;
}
... | [
"assignment.change"
] | 251,295 | 251,296 | u377061679 | cpp |
p02554 | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... | [
"expression.operation.binary.add"
] | 251,299 | 251,300 | u322057345 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
const long long INF = 1LL << 60;
const long long MOD = 1000000007;
int main() {
int n;
cin >> n;
if (n == 1) {
cout << 0 << endl;
return 0;
}
unsigned long long ans = 1;
for (int i = 0; i < n; i++) {
ans *= 10;
ans %= MOD;
}
unsigned long lo... | #include <bits/stdc++.h>
using namespace std;
const long long INF = 1LL << 60;
const long long MOD = 1000000007;
int main() {
int n;
cin >> n;
if (n == 1) {
cout << 0 << endl;
return 0;
}
unsigned long long ans = 1;
for (int i = 0; i < n; i++) {
ans *= 10;
ans %= MOD;
}
unsigned long lo... | [] | 251,305 | 251,306 | u225777148 | cpp |
p02554 | /* ꧁༒☬महाकाल☬༒꧂ ꧁༒ঔमहाकालঔ༒꧂
ঔৣमहाकालᴳᵒᵈঔৣ
*/
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization("unroll-loops"
#include <bits/stdc++.h>
using namespace std;
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
// using namesp... | /* ꧁༒☬महाकाल☬༒꧂ ꧁༒ঔमहाकालঔ༒꧂
ঔৣमहाकालᴳᵒᵈঔৣ
*/
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization("unroll-loops"
#include <bits/stdc++.h>
using namespace std;
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
// using namesp... | [
"assignment.change"
] | 251,310 | 251,311 | u364129544 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using vll = vector<ll>;
#define all(v) v.begin(), v.end()
const ll mod = 1e9 + 7;
ll modpow(ll a, ll b) {
ll ans = 1 % mod;
while (b) {
if (b & 1)
ans = (ans * a) % mod;
a = (a * a... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using vll = vector<ll>;
#define all(v) v.begin(), v.end()
const ll mod = 1e9 + 7;
ll modpow(ll a, ll b) {
ll ans = 1 % mod;
while (b) {
if (b & 1)
ans = (ans * a) % mod;
a = (a * a... | [
"assignment.add"
] | 251,316 | 251,317 | u883725898 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using vll = vector<ll>;
#define all(v) v.begin(), v.end()
const ll mod = 1e9 + 7;
ll modpow(ll a, ll b) {
ll ans = 1 % mod;
while (b) {
if (b & 1)
ans = (ans * a) % mod;
a = (a * a... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using vll = vector<ll>;
#define all(v) v.begin(), v.end()
const ll mod = 1e9 + 7;
ll modpow(ll a, ll b) {
ll ans = 1 % mod;
while (b) {
if (b & 1)
ans = (ans * a) % mod;
a = (a * a... | [
"assignment.change"
] | 251,316 | 251,318 | u883725898 | cpp |
p02554 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
const int INF = 1001001001;
const ll mod = 1000000007;
struct mint {
// 自動的にmodを取ってくれるクラスです。
ll x;
mint(ll x = 0) : x(x % mod) {}
mint &operator+=(const mint a) {
if ((x += a.x) >= mod)
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
const int INF = 1001001001;
const int mod = 1000000007;
struct mint {
// 自動的にmodを取ってくれるクラスです。
ll x;
mint(ll x = 0) : x(x % mod) {}
mint &operator+=(const mint a) {
if ((x += a.x) >= mod)
... | [
"variable_declaration.type.change",
"expression.operator.change",
"control_flow.branch.if.condition.change",
"assignment.change"
] | 251,326 | 251,327 | u928286416 | cpp |
p02554 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
const int INF = 1001001001;
const int mod = 1000000007;
struct mint {
// 自動的にmodを取ってくれるクラスです。
ll x;
mint(ll x = 0) : x(x % mod) {}
mint &operator+=(const mint a) {
if ((x += a.x) >= mod)
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
const int INF = 1001001001;
const int mod = 1000000007;
struct mint {
// 自動的にmodを取ってくれるクラスです。
ll x;
mint(ll x = 0) : x(x % mod) {}
mint &operator+=(const mint a) {
if ((x += a.x) >= mod)
... | [
"expression.operator.change",
"control_flow.branch.if.condition.change",
"assignment.change"
] | 251,328 | 251,327 | u928286416 | cpp |
p02554 | #define _USE_MATH_DEFIMES
#include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cctype>
#include <climits>
#include <clocale>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <ioman... | #define _USE_MATH_DEFIMES
#include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cctype>
#include <climits>
#include <clocale>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <ioman... | [
"expression.operation.unary.arithmetic.remove",
"call.arguments.change"
] | 251,333 | 251,334 | u803893892 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const long long INF = 1LL << 60;
const int MOD = 1000000007;
int main() {
ll N;
cin >> N;
ll total = 1;
for (int i = 1; i <= N; ++i) {
total = total * 10 % MOD;
}
ll seki = 1;
for (int i = 1; i <= N; ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const long long INF = 1LL << 60;
const int MOD = 1000000007;
int main() {
ll N;
cin >> N;
ll total = 1;
for (int i = 1; i <= N; ++i) {
total = total * 10 % MOD;
}
ll seki = 1;
for (int i = 1; i <= N; ... | [
"expression.operation.binary.add"
] | 251,340 | 251,341 | u058106405 | cpp |
p02554 | // g++ -std=c++17 -Wshadow -Wall -fsanitize=address -fsanitize=undefined
// -D_GLIBCXX_DEBUG -g PROGRAM -o OUTPUT -DLOCAL -lasan -lubsan
#include <bits/stdc++.h>
#define ll unsigned long long
#define ull unsigned long long
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define eps 1e-6... | // g++ -std=c++17 -Wshadow -Wall -fsanitize=address -fsanitize=undefined
// -D_GLIBCXX_DEBUG -g PROGRAM -o OUTPUT -DLOCAL -lasan -lubsan
#include <bits/stdc++.h>
#define ll unsigned long long
#define ull unsigned long long
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define eps 1e-6... | [
"assignment.change"
] | 251,347 | 251,348 | u883134470 | cpp |
p02554 | #include <algorithm>
#include <cmath>
#include <deque>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
ll mod = 1e9 + 7;
// ll mod = 998244353;
#define rep(i, n) for (int i = 0; i < (n)... | #include <algorithm>
#include <cmath>
#include <deque>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
ll mod = 1e9 + 7;
// ll mod = 998244353;
#define rep(i, n) for (int i = 0; i < (n)... | [
"assignment.change"
] | 251,349 | 251,350 | u596311864 | cpp |
p02554 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = ... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = ... | [
"literal.number.change",
"io.output.change",
"assignment.add"
] | 251,353 | 251,352 | u366581326 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
#define MOD 1000000007LL
#define rep(i, n) for (ll(i) = 0LL; (i) < (ll)(n); (i)++)
#define rep2(i, s, e) for (ll(i) = (ll)(s); (i) < (ll)(e); (i)++)
#define repi(i, n) for (ll(i) = 0LL; (i) <= ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
#define MOD 1000000007LL
#define rep(i, n) for (ll(i) = 0LL; (i) < (ll)(n); (i)++)
#define rep2(i, s, e) for (ll(i) = (ll)(s); (i) < (ll)(e); (i)++)
#define repi(i, n) for (ll(i) = 0LL; (i) <= ... | [
"expression.operator.change"
] | 251,356 | 251,357 | u196953553 | cpp |
p02554 | #include <algorithm>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define all(v) (v).begin(), (v).end()
#define pb push_back
#define ll long long
#define pii pair<int, int>
#define pll pair<l... | #include <algorithm>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define all(v) (v).begin(), (v).end()
#define pb push_back
#define ll long long
#define pii pair<int, int>
#define pll pair<l... | [
"assignment.change"
] | 251,361 | 251,362 | u840645478 | cpp |
p02554 | #include <cstdint>
#include <iostream>
#include <vector>
using namespace std;
constexpr int64_t kMod = 1e9 + 7;
int main() {
int64_t N;
cin >> N;
int64_t full = 1;
int64_t non = 1;
int64_t both = 1;
for (int64_t n = 0; n < N; ++n) {
full *= 10;
full %= kMod;
non *= 9;
non %= kMod;
bo... | #include <cstdint>
#include <iostream>
#include <vector>
using namespace std;
constexpr int64_t kMod = 1e9 + 7;
int main() {
int64_t N;
cin >> N;
int64_t full = 1;
int64_t non = 1;
int64_t both = 1;
for (int64_t n = 0; n < N; ++n) {
full *= 10;
full %= kMod;
non *= 9;
non %= kMod;
bo... | [
"assignment.add"
] | 251,365 | 251,366 | u762603420 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
// typedef
using ll = long long;
using str = string;
using PL = pair<ll, ll>;
using P = pair<int, int>;
using VL = vector<ll>;
using VI = vector<int>;
using VS = vector<str>;
using VP = vector<P>;
using VPL = vector<PL>;
using VVL = vector<VL>;
using VVI = vector<VI>;
// c... | #include <bits/stdc++.h>
using namespace std;
// typedef
using ll = long long;
using str = string;
using PL = pair<ll, ll>;
using P = pair<int, int>;
using VL = vector<ll>;
using VI = vector<int>;
using VS = vector<str>;
using VP = vector<P>;
using VPL = vector<PL>;
using VVL = vector<VL>;
using VVI = vector<VI>;
// c... | [
"assignment.change"
] | 251,367 | 251,368 | u513983745 | cpp |
p02554 |
// Problem : C - Ubiquity
// Contest : AtCoder - AtCoder Beginner Contest 178
// URL : https://atcoder.jp/contests/abc178/tasks/abc178_c
// Memory Limit : 1024 MB
// Time Limit : 2000 ms
// Powered by CP Editor (https://github.com/cpeditor/cpeditor)
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#de... |
// Problem : C - Ubiquity
// Contest : AtCoder - AtCoder Beginner Contest 178
// URL : https://atcoder.jp/contests/abc178/tasks/abc178_c
// Memory Limit : 1024 MB
// Time Limit : 2000 ms
// Powered by CP Editor (https://github.com/cpeditor/cpeditor)
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#de... | [
"assignment.change"
] | 251,371 | 251,372 | u336838038 | cpp |
p02554 | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (n); ++i)
#define FOR(i, m, n) for (ll i = m; i < (n); i++)
#define all(x) (x).begin(), (x).end()
using namespace std;
typedef long long ll;
using vi = vector<int>;
using vii = vector<vi>;
using pii = pair<int, int>;
using vl = vector<... | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (n); ++i)
#define FOR(i, m, n) for (ll i = m; i < (n); i++)
#define all(x) (x).begin(), (x).end()
using namespace std;
typedef long long ll;
using vi = vector<int>;
using vii = vector<vi>;
using pii = pair<int, int>;
using vl = vector<... | [
"assignment.change"
] | 251,375 | 251,376 | u563914702 | cpp |
p02554 | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (n); ++i)
#define FOR(i, m, n) for (ll i = m; i < (n); i++)
#define all(x) (x).begin(), (x).end()
using namespace std;
typedef long long ll;
using vi = vector<int>;
using vii = vector<vi>;
using pii = pair<int, int>;
using vl = vector<... | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (n); ++i)
#define FOR(i, m, n) for (ll i = m; i < (n); i++)
#define all(x) (x).begin(), (x).end()
using namespace std;
typedef long long ll;
using vi = vector<int>;
using vii = vector<vi>;
using pii = pair<int, int>;
using vl = vector<... | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 251,377 | 251,376 | u563914702 | cpp |
p02554 | // list index out of rangeエラー表示用
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, s, n) for (int i = (s); i < (int)(n); i++)
int main() {
long long waru = powl(10, 9) + 7;
long long n;
cin >> n;
if (n == 1)
cout << 0;
else {
long long ans = 1;
long long b = 1;
... | // list index out of rangeエラー表示用
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, s, n) for (int i = (s); i < (int)(n); i++)
int main() {
long long waru = powl(10, 9) + 7;
long long n;
cin >> n;
if (n == 1)
cout << 0;
else {
long long ans = 1;
long long b = 1;
... | [
"assignment.add"
] | 251,385 | 251,386 | u204208382 | cpp |
p02554 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp> // Common file
#include <ext/pb_ds/detail/standard_policies.hpp>
#include <ext/pb_ds/tree_policy.hpp> // Including tree_order_statistics_node_update
/*
* coder :: ATUL_PANDEY_2608
* >>> INDIA <<<
*/
using namespace std;
using namespace __gn... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp> // Common file
#include <ext/pb_ds/detail/standard_policies.hpp>
#include <ext/pb_ds/tree_policy.hpp> // Including tree_order_statistics_node_update
/*
* coder :: ATUL_PANDEY_2608
* >>> INDIA <<<
*/
using namespace std;
using namespace __gn... | [
"assignment.add"
] | 251,389 | 251,390 | u548842391 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define mod 1000000007
int main() {
long N;
long long sum = 0, all = 1, tmp1 = 1, tmp2 = 1;
cin >> N;
rep(i, N) {
all = all * 10;
all = all % mod;
tmp1 = tmp1 * 9;
tmp1 = tmp1 % mod;
tmp2 =... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define mod 1000000007
int main() {
long N;
long long sum = 0, all = 1, tmp1 = 1, tmp2 = 1;
cin >> N;
rep(i, N) {
all = all * 10;
all = all % mod;
tmp1 = tmp1 * 9;
tmp1 = tmp1 % mod;
tmp2 =... | [
"assignment.add"
] | 251,393 | 251,394 | u388952749 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define FASTIO1 ios_base::sync_with_stdio(false)
#define FASTIO2 cin.tie(NULL), cout.tie(NULL)
#define count_1(p) __builtin_popcountll(p)
#define count_0(p) __builtin_ctzll(p)
#define all(x) (x).begin(), (x).end()
#define ll long long
#define pb push_back
#define mp make_p... | #include <bits/stdc++.h>
using namespace std;
#define FASTIO1 ios_base::sync_with_stdio(false)
#define FASTIO2 cin.tie(NULL), cout.tie(NULL)
#define count_1(p) __builtin_popcountll(p)
#define count_0(p) __builtin_ctzll(p)
#define all(x) (x).begin(), (x).end()
#define ll long long
#define pb push_back
#define mp make_p... | [
"expression.operation.binary.add"
] | 251,413 | 251,414 | u236940456 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define FASTIO1 ios_base::sync_with_stdio(false)
#define FASTIO2 cin.tie(NULL), cout.tie(NULL)
#define count_1(p) __builtin_popcountll(p)
#define count_0(p) __builtin_ctzll(p)
#define all(x) (x).begin(), (x).end()
#define ll long long
#define pb push_back
#define mp make_p... | #include <bits/stdc++.h>
using namespace std;
#define FASTIO1 ios_base::sync_with_stdio(false)
#define FASTIO2 cin.tie(NULL), cout.tie(NULL)
#define count_1(p) __builtin_popcountll(p)
#define count_0(p) __builtin_ctzll(p)
#define all(x) (x).begin(), (x).end()
#define ll long long
#define pb push_back
#define mp make_p... | [
"expression.operation.binary.add"
] | 251,415 | 251,414 | u236940456 | cpp |
p02554 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using pii = pair<int, int>;
const int mod = 1e9 + 7;
ll powmod(ll a, ll b) {
ll ret = 1;
rep(i, b) { ret = (ret * a) % mod; }
return ret;
}
int main() {
ll n;
cin >> n;
ll ans = powmod(10, ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using pii = pair<int, int>;
const int mod = 1e9 + 7;
ll powmod(ll a, ll b) {
ll ret = 1;
rep(i, b) { ret = (ret * a) % mod; }
return ret;
}
int main() {
ll n;
cin >> n;
ll ans = powmod(10, ... | [
"expression.operation.binary.add"
] | 251,422 | 251,423 | u801916231 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define lli long long int
#define ld long double
#define pb push_back
#define pf push_front
#d... | #include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define lli long long int
#define ld long double
#define pb push_back
#define pf push_front
#d... | [
"assignment.change"
] | 251,428 | 251,429 | u071372832 | cpp |
p02554 | #ifdef DBG_MACRO_NO_WARNING
#include <dbg.h>
#endif
#include <bits/stdc++.h>
#define all(c) c.begin(), c.end()
#define isz(c) (int)c.size()
using namespace std;
using ll = long long;
using ii = pair<int, int>;
using vi = vector<int>;
ll const MOD = 1e9 + 7;
ll binpow(ll a, ll b) {
a %= MOD;
ll ans = 1;
while (... | #ifdef DBG_MACRO_NO_WARNING
#include <dbg.h>
#endif
#include <bits/stdc++.h>
#define all(c) c.begin(), c.end()
#define isz(c) (int)c.size()
using namespace std;
using ll = long long;
using ii = pair<int, int>;
using vi = vector<int>;
ll const MOD = 1e9 + 7;
ll binpow(ll a, ll b) {
a %= MOD;
ll ans = 1;
while (... | [
"expression.operation.binary.add"
] | 251,430 | 251,431 | u508183081 | cpp |
p02554 | #include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#incl... | #include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#incl... | [
"call.add",
"expression.operation.binary.change",
"call.arguments.change"
] | 251,434 | 251,435 | u010725318 | cpp |
p02554 | #include <bits/stdc++.h>
#define int long long
using namespace std;
const int N = 2e5 + 5;
const int mod = 1e9 + 7;
int n, dp[N][2][2];
void add(int &x, int y) {
x += y;
if (x >= mod)
x -= mod;
}
signed main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
cin >> n;
dp[0][0][0] = 1;
f... | #include <bits/stdc++.h>
#define int long long
using namespace std;
const int N = 1e6 + 5;
const int mod = 1e9 + 7;
int n, dp[N][2][2];
void add(int &x, int y) {
x += y;
if (x >= mod)
x -= mod;
}
signed main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
cin >> n;
dp[0][0][0] = 1;
f... | [
"literal.number.change",
"expression.operation.binary.change"
] | 251,442 | 251,443 | u756086310 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
long long A = 1, B = 1, C = 1;
for (int i = 0; i < N; i++) {
A *= 10;
B *= 8;
C *= 9;
A = A % (1000000000 + 7);
B = B % (1000000000 + 7);
C = C % (1000000000 + 7);
}
// printf("A=%llu B=%llu C=%llu\n",A,B,C);... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
long long A = 1, B = 1, C = 1;
for (int i = 0; i < N; i++) {
A *= 10;
B *= 8;
C *= 9;
A = A % (1000000000 + 7);
B = B % (1000000000 + 7);
C = C % (1000000000 + 7);
}
// printf("A=%llu B=%llu C=%llu\n",A,B,C);... | [
"assignment.change"
] | 251,446 | 251,447 | u132894387 | cpp |
p02554 | #include <iostream>
using namespace std;
int main(void) {
int n;
cin >> n;
long tmp = 1000000007;
long mod8, mod9, mod10;
mod8 = 1;
mod9 = 1;
mod10 = 1;
for (int i = 0; i < n; i++) {
mod8 = (mod8 * 8) % tmp;
mod9 = (mod9 * 9) % tmp;
mod10 = (mod10 * 10) % tmp;
}
long res = mod10 - 2 * mo... | #include <iostream>
using namespace std;
int main(void) {
int n;
cin >> n;
long tmp = 1000000007;
long mod8, mod9, mod10;
mod8 = 1;
mod9 = 1;
mod10 = 1;
for (int i = 0; i < n; i++) {
mod8 = (mod8 * 8) % tmp;
mod9 = (mod9 * 9) % tmp;
mod10 = (mod10 * 10) % tmp;
}
long res = (mod10 - 2 * m... | [
"assignment.change"
] | 251,448 | 251,449 | u703886980 | cpp |
p02554 | #include <iostream>
using namespace std;
int main(void) {
int n;
cin >> n;
int tmp = 1000000007;
long mod8, mod9, mod10;
mod8 = 1;
mod9 = 1;
mod10 = 1;
for (int i = 0; i < n; i++) {
mod8 = (mod8 * 8) % tmp;
mod9 = (mod9 * 9) % tmp;
mod10 = (mod10 * 10) % tmp;
}
int res = mod10 - 2 * mod9... | #include <iostream>
using namespace std;
int main(void) {
int n;
cin >> n;
long tmp = 1000000007;
long mod8, mod9, mod10;
mod8 = 1;
mod9 = 1;
mod10 = 1;
for (int i = 0; i < n; i++) {
mod8 = (mod8 * 8) % tmp;
mod9 = (mod9 * 9) % tmp;
mod10 = (mod10 * 10) % tmp;
}
long res = (mod10 - 2 * m... | [
"variable_declaration.type.primitive.change"
] | 251,450 | 251,449 | u703886980 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
long long ans = 1, ex = 1, ex2 = 1, mod = 1000000007;
for (int i = 0; i < n; i++) {
ans = (ans * 10) % mod;
ex = (ex * 9) % mod;
ex2 = (ex2 * 8) % mod;
}
cout << (ans - 2 * ex + ex2) % mod;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
long long ans = 1, ex = 1, ex2 = 1, mod = 1000000007;
for (int i = 0; i < n; i++) {
ans = (ans * 10) % mod;
ex = (ex * 9) % mod;
ex2 = (ex2 * 8) % mod;
}
cout << (ans - 2 * ex + ex2 + mod * 3) % mod;
}
| [
"expression.operation.binary.add"
] | 251,459 | 251,460 | u367569703 | cpp |
p02554 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
#define ll long long
using namespace std;
const int INF = 0x3f3f3f3f;
const double pi = acos(-1.0), eps = 1e-8;
const ll mod = 1e9 + 7;
const i... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
#define ll long long
using namespace std;
const int INF = 0x3f3f3f3f;
const double pi = acos(-1.0), eps = 1e-8;
const ll mod = 1e9 + 7;
const i... | [
"literal.number.change",
"expression.operation.binary.change"
] | 251,469 | 251,470 | u564836901 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const LL mod = 1000000007;
int main() {
// ifstream cin("input.txt");
LL n;
cin >> n;
if (n == 1) {
cout << 0;
return 0;
}
LL p1 = 1, p2 = 1, p3 = 1;
for (int i = 0; i < n; ++i)
p1 = (p1 * 10) % mod, p2 = (p2 * 9) % mod,... | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const LL mod = 1000000007;
int main() {
// ifstream cin("input.txt");
LL n;
cin >> n;
if (n == 1) {
cout << 0;
return 0;
}
LL p1 = 1, p2 = 1, p3 = 1;
for (int i = 0; i < n; ++i)
p1 = (p1 * 10) % mod, p2 = (p2 * 9) % mod,... | [
"assignment.change"
] | 251,473 | 251,474 | u421868925 | cpp |
p02554 | #include <iostream>
using namespace std;
#define ull unsigned long long
#define u unsigned
#define mod (u)(1e9 + 7)
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
ull a10 = 1, a9 = 1, a8 = 1;
u n;
cin >> n;
while (n--) {
a10 = (a10 * (10)) % mod;
a9 = (a9 * 9) % mod;
a8 = (a8 *... | #include <iostream>
using namespace std;
#define ull unsigned long long
#define u unsigned
#define mod (u)(1e9 + 7)
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
ull a10 = 1, a9 = 1, a8 = 1;
u n;
cin >> n;
while (n--) {
a10 = (a10 * (10)) % mod;
a9 = (a9 * 9) % mod;
a8 = (a8 *... | [
"expression.operation.binary.add"
] | 251,475 | 251,476 | u905357609 | cpp |
p02554 | #include <bits/stdc++.h>
#define ll long long
#define pi 3.14159265358979
#define mod 1000000007
#define rep(i, n) for (ll i = 0; i < n; i++)
using namespace std;
const int INF = 1000100100;
long long int mod_pow(long long int x, long long int n, long long int m) {
long long int res = 1;
while (n > 0) {
if (n ... | #include <bits/stdc++.h>
#define ll long long
#define pi 3.14159265358979
#define mod 1000000007
#define rep(i, n) for (ll i = 0; i < n; i++)
using namespace std;
const int INF = 1000100100;
long long int mod_pow(long long int x, long long int n, long long int m) {
long long int res = 1;
while (n > 0) {
if (n ... | [
"assignment.change"
] | 251,477 | 251,478 | u838152098 | cpp |
p02554 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
using LL = long long;
LL mod = 1e9 + 7;
LL pow_L(LL x, LL n) {
LL x_n = x, res = 1;
while (n > 0) {
if ((n & 1) == 1) {
res = (res * x_n) % mod;
}
n = n >> 1;
x_n = x_n * x_n % mod;
}
return res;
}
int main(... | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
using LL = long long;
LL mod = 1e9 + 7;
LL pow_L(LL x, LL n) {
LL x_n = x, res = 1;
while (n > 0) {
if ((n & 1) == 1) {
res = (res * x_n) % mod;
}
n = n >> 1;
x_n = x_n * x_n % mod;
}
return res;
}
int main(... | [
"control_flow.branch.while.replace.add",
"control_flow.loop.if.replace.remove"
] | 251,485 | 251,486 | u608654778 | cpp |
p02554 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep2(i, n) f... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep2(i, n) f... | [
"assignment.change"
] | 251,487 | 251,488 | u335365831 | cpp |
p02554 | #include <algorithm>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <queue>
#include <set>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
using namespace std;
typedef long long ll;
type... | #include <algorithm>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <queue>
#include <set>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
using namespace std;
typedef long long ll;
type... | [
"assignment.add"
] | 251,496 | 251,497 | u556774846 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
#define pi 3.141592653589
ll power(ll b, ll e, ll m) {
if (e == 0)
return 1;
if (e & 1)
return b * power(b * b % m, e / 2, m) % m;
return power(b * b % m, e / 2, m);
}
ll power(ll b, ll e) {
if (e == 0)
retu... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
#define pi 3.141592653589
ll power(ll b, ll e, ll m) {
if (e == 0)
return 1;
if (e & 1)
return b * power(b * b % m, e / 2, m) % m;
return power(b * b % m, e / 2, m);
}
ll power(ll b, ll e) {
if (e == 0)
retu... | [
"assignment.change"
] | 251,498 | 251,499 | u604091676 | cpp |
p02554 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <iterator>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
using namespace std;
bool cmp(long long a, long long b) { return... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <iterator>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
using namespace std;
bool cmp(long long a, long long b) { return... | [
"assignment.change"
] | 251,502 | 251,503 | u996828818 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
const int mod = 1e9 + 7;
ll binpow(ll a, ll b) {
if (b < 0)
return 0;
ll ans = 1;
while (b) {
if (b % 2)
ans = (ans * a) % mod;
a = (a * a) % mod;
b /= 2;
}
return ans;
}
int main() {
ll n;
cin >>... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
const int mod = 1e9 + 7;
ll binpow(ll a, ll b) {
if (b < 0)
return 0;
ll ans = 1;
while (b) {
if (b % 2)
ans = (ans * a) % mod;
a = (a * a) % mod;
b /= 2;
}
return ans;
}
int main() {
ll n;
cin >>... | [
"assignment.change"
] | 251,511 | 251,512 | u694116078 | cpp |
p02554 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using ll = long long;
#define rep(i, n) for (ll i = 0; i < (n); i++)
using namespace std;
const ll MOD = 1000000007;
ll modPow(ll a, ll n) {
if (n == 0)
return 1;
if (n == 1)
return a % MOD;
if (n % 2 == 1)
... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using ll = long long;
#define rep(i, n) for (ll i = 0; i < (n); i++)
using namespace std;
const ll MOD = 1000000007;
ll modPow(ll a, ll n) {
if (n == 0)
return 1;
if (n == 1)
return a % MOD;
if (n % 2 == 1)
... | [
"assignment.change"
] | 251,515 | 251,516 | u622070196 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll N;
cin >> N;
ll Mod = 1000000007;
ll a = 1, b = 1, c = 1;
for (ll i = 0; i < N; i++) {
a *= 10;
a %= Mod;
}
for (ll j = 0; j < N; j++) {
b *= 9;
b %= Mod;
}
for (ll k = 0; k < N; k++) {
c *= 8;
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll N;
cin >> N;
ll Mod = 1000000007;
ll a = 1, b = 1, c = 1;
for (ll i = 0; i < N; i++) {
a *= 10;
a %= Mod;
}
for (ll j = 0; j < N; j++) {
b *= 9;
b %= Mod;
}
for (ll k = 0; k < N; k++) {
c *= 8;
... | [
"expression.operation.binary.add"
] | 251,517 | 251,518 | u298972557 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long n;
cin >> n;
long long mod = pow(10, 9) + 7;
long long ans = 1, full = 1, nine = 1;
for (int i = 0; i < n; i++) {
ans = ans * 10 % mod;
full = full * 8 % mod;
nine = nine * 9 % mod;
}
ans += mod;
ans -= nine * 2 - full;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long n;
cin >> n;
long long mod = pow(10, 9) + 7;
long long ans = 1, full = 1, nine = 1;
for (int i = 0; i < n; i++) {
ans = ans * 10 % mod;
full = full * 8 % mod;
nine = nine * 9 % mod;
}
ans += mod * 3;
ans -= nine * 2 - fu... | [
"assignment.change"
] | 251,523 | 251,524 | u412837450 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (i = 0; i < n; i++)
// 2D::rep(i,j)rep(j,j)cin>>bin[i][j];
// vector<int> a(n)
#define Graph vector<vector<int>>
#define A1 cout << "No" << endl
#define A2 cout << "Yes" << endl
#define A3 cout << ans <<
#define AA(i) cout << i <<... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (i = 0; i < n; i++)
// 2D::rep(i,j)rep(j,j)cin>>bin[i][j];
// vector<int> a(n)
#define Graph vector<vector<int>>
#define A1 cout << "No" << endl
#define A2 cout << "Yes" << endl
#define A3 cout << ans <<
#define AA(i) cout << i <<... | [
"call.arguments.change"
] | 251,525 | 251,526 | u257900169 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (i = 0; i < n; i++)
// 2D::rep(i,j)rep(j,j)cin>>bin[i][j];
// vector<int> a(n)
#define Graph vector<vector<int>>
#define A1 cout << "No" << endl
#define A2 cout << "Yes" << endl
#define A3 cout << ans <<
#define AA(i) cout << i <<... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (i = 0; i < n; i++)
// 2D::rep(i,j)rep(j,j)cin>>bin[i][j];
// vector<int> a(n)
#define Graph vector<vector<int>>
#define A1 cout << "No" << endl
#define A2 cout << "Yes" << endl
#define A3 cout << ans <<
#define AA(i) cout << i <<... | [
"call.arguments.change"
] | 251,527 | 251,526 | u257900169 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
int64_t MOD = 1000000007;
double PI = 3.141592653589793;
int64_t mypow(int64_t x, int64_t y) // x ^ y
{
if (y == 0)
return 1;
if (y == 1)
return x;
else if (y % 2 == 1)
return mypow(x, y - 1) * x % MOD;
else {
int64_t tmp = mypow(x, y / 2);
ret... | #include <bits/stdc++.h>
using namespace std;
int64_t MOD = 1000000007;
double PI = 3.141592653589793;
int64_t mypow(int64_t x, int64_t y) // x ^ y
{
if (y == 0)
return 1;
if (y == 1)
return x;
else if (y % 2 == 1)
return mypow(x, y - 1) * x % MOD;
else {
int64_t tmp = mypow(x, y / 2);
ret... | [
"expression.operation.binary.add"
] | 251,532 | 251,533 | u058742919 | cpp |
p02554 | /*
在太阳西斜的这个世界里
置身天上之森。
等这场战争结束之后
不归之人与望眼欲穿的众人
人人本着正义之名
长存不灭的过去
逐渐消逝的未来
我回来了
纵使日薄西山
即便看不到未来
此时此刻的光辉
盼君勿忘
*/
#include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
typedef long long LL;
const LL mod = 1000000007;
LL power(LL a, LL b, LL p) {
LL ans = 1;
for (; b; b >>= 1) {
if (b & 1)
... | /*
在太阳西斜的这个世界里
置身天上之森。
等这场战争结束之后
不归之人与望眼欲穿的众人
人人本着正义之名
长存不灭的过去
逐渐消逝的未来
我回来了
纵使日薄西山
即便看不到未来
此时此刻的光辉
盼君勿忘
*/
#include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
typedef long long LL;
const LL mod = 1000000007;
LL power(LL a, LL b, LL p) {
LL ans = 1;
for (; b; b >>= 1) {
if (b & 1)
... | [
"expression.operation.binary.add"
] | 251,540 | 251,541 | u269920578 | cpp |
p02554 | #include <bits/stdc++.h>
#define fi first
#define se second
#define mp make_pair
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const double eps = 1e-8;
const int NINF = 0xc0c0c0c0;
const int INF = 0x3f3f3f3f;
const ll mod = 1e9 + 7;
const ll N = 1e6 + 5;
ll qpow(ll a, ll b) {
ll res = 1;
... | #include <bits/stdc++.h>
#define fi first
#define se second
#define mp make_pair
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const double eps = 1e-8;
const int NINF = 0xc0c0c0c0;
const int INF = 0x3f3f3f3f;
const ll mod = 1e9 + 7;
const ll N = 1e6 + 5;
ll qpow(ll a, ll b) {
ll res = 1;
... | [] | 251,556 | 251,557 | u375212600 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using vl = vector<ll>;
template <class T> using vc = vector<T>;
template <class T> using vvc = vector<vector<T>>;
#define eb emplace_back
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (ll i = 0; i < (n); i++)
#def... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using vl = vector<ll>;
template <class T> using vc = vector<T>;
template <class T> using vvc = vector<vector<T>>;
#define eb emplace_back
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (ll i = 0; i < (n); i++)
#def... | [
"assignment.change"
] | 251,558 | 251,559 | u722535636 | cpp |
p02554 | #include <algorithm>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <stdlib.h>
#include <utility>
#include <vector>
#define max_n 100001
int mod = 1e9 + 7;
using namespace std;
int main() {
int n;
cin >> n;
long long total = 1;
for (int i = 0; i < n; i++) ... | #include <algorithm>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <stdlib.h>
#include <utility>
#include <vector>
#define max_n 100001
long long mod = 1e9 + 7;
using namespace std;
int main() {
int n;
cin >> n;
long long total = 1;
for (int i = 0; i < n;... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 251,560 | 251,561 | u944871006 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define online_judge \
freopen("input.txt", "r", stdin); \
freopen("output.txt", "w", stdout);
#define fastio ... | #include <bits/stdc++.h>
using namespace std;
#define online_judge \
freopen("input.txt", "r", stdin); \
freopen("output.txt", "w", stdout);
#define fastio ... | [
"assignment.change"
] | 251,562 | 251,563 | u947886911 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vl = vector<ll>;
using vvl = vector<vl>;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
ll MOD = 1000000007;
ll n;
cin >>... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vl = vector<ll>;
using vvl = vector<vl>;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
ll MOD = 1000000007;
ll n;
cin >>... | [
"assignment.change"
] | 251,564 | 251,565 | u016334391 | cpp |
p02554 | #include <iostream>
using namespace std;
using ll = long long int;
ll modpow(ll a, ll b);
ll key = 1000000007;
int main() {
ll n;
cin >> n;
ll ans = modpow(10, n) - modpow(9, n) * 2 + modpow(8, n);
if (ans >= 0) {
cout << ans % key;
} else {
cout << (ans + key * 2) / key;
}
return 0;
}
ll modpow(... | #include <iostream>
using namespace std;
using ll = long long int;
ll modpow(ll a, ll b);
ll key = 1000000007;
int main() {
ll n;
cin >> n;
ll ans = modpow(10, n) - modpow(9, n) * 2 + modpow(8, n);
if (ans >= 0) {
cout << ans % key;
} else {
cout << (ans + key * 2) % key;
}
return 0;
}
ll modpow(... | [
"expression.operator.arithmetic.change",
"io.output.change"
] | 251,568 | 251,569 | u909936978 | cpp |
p02554 | #include <iostream>
using namespace std;
const int MOD = 1000000007;
int main(void) {
// Your code here!
int N;
cin >> N;
long long K = 1, L = 1, M = 1;
for (int i = 1; i <= N; i++) {
K *= 10, L *= 9, M *= 8;
K = K % MOD, L = L % MOD, M = M % MOD;
}
long long ans = K - 2 * L + M;
ans = ans ... | #include <iostream>
using namespace std;
const long long MOD = 1000000007;
int main(void) {
// Your code here!
int N;
cin >> N;
long long K = 1, L = 1, M = 1;
for (int i = 1; i <= N; i++) {
K *= 10, L *= 9, M *= 8;
K = K % MOD, L = L % MOD, M = M % MOD;
}
long long ans = K - 2 * L + M + 2 * M... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 251,578 | 251,579 | u052298619 | cpp |
p02554 | #include "queue"
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <math.h>
#include <queue>
#include <set>
#include <stdlib.h>
#include <string>
#include <vector>
#define inf 107374182
#define M 10010001
#define ll long long
#define PII pair<int... | #include "queue"
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <math.h>
#include <queue>
#include <set>
#include <stdlib.h>
#include <string>
#include <vector>
#define inf 107374182
#define M 10010001
#define ll long long
#define PII pair<int... | [
"expression.operation.binary.add"
] | 251,580 | 251,581 | u536230390 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int main() {
const ll mod = 1000000007;
ll n;
cin >> n;
int i;
if (n == 1) {
cout << 0 << endl;
return 0;
}
ll a = 1, b = 1, c = 1;
for (i = 0; i < n; i++) {
a = a * 10 % mod;
b = b * 9 % mod;
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int main() {
const ll mod = 1000000007;
ll n;
cin >> n;
ll i;
if (n == 1) {
cout << 0 << endl;
return 0;
}
ll a = 1, b = 1, c = 1;
for (i = 0; i < n; i++) {
a = a * 10 % mod;
b = b * 9 % mod;
... | [
"variable_declaration.type.change",
"assignment.change"
] | 251,582 | 251,583 | u265187423 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int main() {
const ll mod = 1000000007;
ll n;
cin >> n;
int i;
if (n == 1) {
cout << 0 << endl;
return 0;
}
ll a = 1, b = 1, c = 1;
for (i = 0; i < n; i++) {
a = a * 10 % mod;
b = b * 9 % mod;
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int main() {
const ll mod = 1000000007;
ll n;
cin >> n;
ll i;
if (n == 1) {
cout << 0 << endl;
return 0;
}
ll a = 1, b = 1, c = 1;
for (i = 0; i < n; i++) {
a = a * 10 % mod;
b = b * 9 % mod;
... | [
"variable_declaration.type.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"assignment.change"
] | 251,584 | 251,583 | u265187423 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define all(v) v.begin(), v.end()
using ll = long long;
const int inf = int(1e10);
// const ll inf = ll(1e19);
const int mod = int(1e9) + 7;
// a^nの計算(mod)
ll modpow(ll a, ll n, ll mod) {
ll res = 1;
while (n > 0) {
if ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define all(v) v.begin(), v.end()
using ll = long long;
const int inf = int(1e10);
// const ll inf = ll(1e19);
const int mod = int(1e9) + 7;
// a^nの計算(mod)
ll modpow(ll a, ll n, ll mod) {
ll res = 1;
while (n > 0) {
if ... | [
"control_flow.branch.while.replace.add",
"control_flow.loop.if.replace.remove"
] | 251,591 | 251,592 | u867848444 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<long long> vl;
#define pll pair<ll, ll>
#define vpl vector<pll>
#define vb vector<bool>
#define PB push_back
#define MP make_pair
#define ln "\n"
#define forn(i, e) for (ll i = 0; i < e; i++)
#define forsn(i, s, e) for (ll i = s; i < e; ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<long long> vl;
#define pll pair<ll, ll>
#define vpl vector<pll>
#define vb vector<bool>
#define PB push_back
#define MP make_pair
#define ln "\n"
#define forn(i, e) for (ll i = 0; i < e; i++)
#define forsn(i, s, e) for (ll i = s; i < e; ... | [
"assignment.change"
] | 251,599 | 251,600 | u717169542 | cpp |
p02554 | #include <bits/stdc++.h>
typedef long long ll;
#define ALL(l) (l).begin(), (l).end()
#define rep(i, n) for (ll(i) = 0; (i) < (n); (i)++)
#define rep2(i, s, n) for (ll i = (s); i < (ll)(n); i++)
using namespace std;
// const ll mod = 1000000007;
// const ll maxn = 1000000000;
//---------------------------------------... | #include <bits/stdc++.h>
typedef long long ll;
#define ALL(l) (l).begin(), (l).end()
#define rep(i, n) for (ll(i) = 0; (i) < (n); (i)++)
#define rep2(i, s, n) for (ll i = (s); i < (ll)(n); i++)
using namespace std;
// const ll mod = 1000000007;
// const ll maxn = 1000000000;
//---------------------------------------... | [
"assignment.add"
] | 251,609 | 251,610 | u195822478 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
//#pragma gcc optimize("O3,unroll-loop")
//#pragma gcc
//target("sse,sse2,sse3,ssse3,sse4,avx,avx2,fma,abm,mmx,popcnt,tune=native")
#define int long long
//#define double long double
#define MOD 1000000007
int fpow(int a, int b) {
int ret = 1;
while (b) {
if (b & ... | #include <bits/stdc++.h>
using namespace std;
//#pragma gcc optimize("O3,unroll-loop")
//#pragma gcc
//target("sse,sse2,sse3,ssse3,sse4,avx,avx2,fma,abm,mmx,popcnt,tune=native")
#define int long long
//#define double long double
#define MOD 1000000007LL
int fpow(int a, int b) {
int ret = 1;
while (b) {
if (b ... | [] | 251,611 | 251,612 | u769237842 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
//#pragma gcc optimize("O3,unroll-loop")
//#pragma gcc
//target("sse,sse2,sse3,ssse3,sse4,avx,avx2,fma,abm,mmx,popcnt,tune=native")
#define int long long
//#define double long double
#define MOD 1000000007
int fpow(int a, int b) {
int ret = 1;
while (b) {
if (b & ... | #include <bits/stdc++.h>
using namespace std;
//#pragma gcc optimize("O3,unroll-loop")
//#pragma gcc
//target("sse,sse2,sse3,ssse3,sse4,avx,avx2,fma,abm,mmx,popcnt,tune=native")
#define int long long
//#define double long double
#define MOD 1000000007LL
int fpow(int a, int b) {
int ret = 1;
while (b) {
if (b ... | [
"expression.operation.binary.add"
] | 251,613 | 251,612 | u769237842 | cpp |
p02554 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
using ll = long long;
const long double PI = acos(-1.0);
const ll MOD = 1e9 + 7;
int main() {
int n;
cin >> n;
ll eight = 1;
ll nine = 1;
ll ten = 1;
for (int i = 0; i < n; i++) {
eight = (eight * 8) % MOD;
nine = (nine... | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
using ll = long long;
const long double PI = acos(-1.0);
const ll MOD = 1e9 + 7;
int main() {
int n;
cin >> n;
ll eight = 1;
ll nine = 1;
ll ten = 1;
for (int i = 0; i < n; i++) {
eight = (eight * 8) % MOD;
nine = (nine... | [
"assignment.change"
] | 251,618 | 251,619 | u272150741 | cpp |
p02554 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
using ll = long long;
const long double PI = acos(-1.0);
const ll MOD = 1e9 + 7;
int main() {
int n;
cin >> n;
ll eight = 1;
ll nine = 1;
ll ten = 1;
for (int i = 0; i < n; i++) {
eight = (eight * 8) % MOD;
nine = (nine... | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
using ll = long long;
const long double PI = acos(-1.0);
const ll MOD = 1e9 + 7;
int main() {
int n;
cin >> n;
ll eight = 1;
ll nine = 1;
ll ten = 1;
for (int i = 0; i < n; i++) {
eight = (eight * 8) % MOD;
nine = (nine... | [
"assignment.change"
] | 251,620 | 251,619 | u272150741 | cpp |
p02554 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
using ll = long long;
const long double PI = acos(-1.0);
const ll MOD = 1e9 + 7;
int main() {
ll n;
cin >> n;
ll eight = 1;
ll nine = 1;
ll ten = 1;
for (int i = 0; i < n; i++) {
eight = (eight * 8) % MOD;
nine = (nine ... | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
using ll = long long;
const long double PI = acos(-1.0);
const ll MOD = 1e9 + 7;
int main() {
int n;
cin >> n;
ll eight = 1;
ll nine = 1;
ll ten = 1;
for (int i = 0; i < n; i++) {
eight = (eight * 8) % MOD;
nine = (nine... | [
"variable_declaration.type.change"
] | 251,621 | 251,619 | u272150741 | cpp |
p02554 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (long long i = 0; i < (n); i++)
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
ret... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (long long i = 0; i < (n); i++)
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
ret... | [
"assignment.change"
] | 251,640 | 251,641 | u316322317 | cpp |
p02554 | #include <algorithm>
#include <iostream>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define REP(i, n) for (int i = 0; i < (n); i++)
#define RREP(i, n) for (int i = (n)-1; i >= 0; i--)
#define FOR(i, a, b) for (... | #include <algorithm>
#include <iostream>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define REP(i, n) for (int i = 0; i < (n); i++)
#define RREP(i, n) for (int i = (n)-1; i >= 0; i--)
#define FOR(i, a, b) for (... | [
"expression.operation.binary.add"
] | 251,642 | 251,643 | u472675932 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.