Skip to content

Commit 62e71c0

Browse files
committed
del exe file
1 parent 49d7a59 commit 62e71c0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+699
-16
lines changed

Diff for: 1105A.exe

-100 KB
Binary file not shown.

Diff for: 1108B.exe

-82.1 KB
Binary file not shown.

Diff for: 1141B.exe

-57.7 KB
Binary file not shown.

Diff for: 1182A-ft.exe

-46.5 KB
Binary file not shown.

Diff for: 118B.exe

-48.1 KB
Binary file not shown.

Diff for: 1199B.exe

-48.2 KB
Binary file not shown.

Diff for: 1204A.exe

-48 KB
Binary file not shown.

Diff for: 1206B.exe

-46 KB
Binary file not shown.

Diff for: 1213B.exe

-57.5 KB
Binary file not shown.

Diff for: 1230B.exe

-48.7 KB
Binary file not shown.

Diff for: 1238A.exe

-45.9 KB
Binary file not shown.

Diff for: 1249B1.exe

-58.1 KB
Binary file not shown.

Diff for: 1288A.exe

-46.2 KB
Binary file not shown.

Diff for: 1293B.exe

-47.7 KB
Binary file not shown.

Diff for: 1294B.exe

-95 KB
Binary file not shown.

Diff for: 1294C.exe

-66.2 KB
Binary file not shown.

Diff for: 1301A.exe

-48.7 KB
Binary file not shown.

Diff for: 1321A.exe

-57.9 KB
Binary file not shown.

Diff for: 1324B.exe

-100 KB
Binary file not shown.

Diff for: 1324C.exe

-68.5 KB
Binary file not shown.

Diff for: 1332A.exe

-46.4 KB
Binary file not shown.

Diff for: 1333B.exe

-57.8 KB
Binary file not shown.

Diff for: 1333C.exe

-111 KB
Binary file not shown.

Diff for: 1334A.exe

-57.7 KB
Binary file not shown.

Diff for: 1334B.exe

-83.5 KB
Binary file not shown.

Diff for: 1335C.exe

-101 KB
Binary file not shown.

Diff for: 1335D.exe

-48.5 KB
Binary file not shown.

Diff for: 1337B.exe

-45.9 KB
Binary file not shown.

Diff for: 1339B.exe

-82.1 KB
Binary file not shown.

Diff for: 1339C.exe

-47.2 KB
Binary file not shown.

Diff for: 1343C.exe

-57.8 KB
Binary file not shown.

Diff for: 143A.exe

-47.5 KB
Binary file not shown.

Diff for: 146B.exe

-53 KB
Binary file not shown.

Diff for: 146C.exe

-48.9 KB
Binary file not shown.

Diff for: 151A.exe

-46 KB
Binary file not shown.

Diff for: 151B.exe

-68.6 KB
Binary file not shown.

Diff for: 160B.exe

-81.9 KB
Binary file not shown.

Diff for: 1715B.cpp

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
#include<bits/stdc++.h>
2+
#define ll long long
3+
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);
4+
5+
#define fi(n) for(ll i=0; i<n; i++)
6+
#define fj(n) for(ll j=0; j<n; j++)
7+
#define rfi(n) for(ll i = n-1; i >=0; --i)
8+
#define fa(n) for(auto i:n)
9+
#define fa2(n) for(auto i:n) cout<<i<<' ';
10+
#define llt ll t; cin>>t; while(t--)
11+
#define lln ll n; cin>>n;
12+
#define llnm ll n,m; cin>>n>>m;
13+
#define llx ll x; cin>>x;
14+
#define llxy ll x,y; cin>>x>>y;
15+
#define llab ll a,b; cin>>a>>b;
16+
17+
#define vi vector<int>
18+
#define vll vector<ll>
19+
#define vs vector<string>
20+
#define pb push_back
21+
#define mp make_pair
22+
#define pbx ll xx; cin>> xx; v.pb(xx);
23+
#define pbs string xx; cin>> xx; v.pb(xx);
24+
#define all(x) x.begin(), x.end()
25+
#define srt(x) sort(all(x))
26+
#define rsrt(x) sort(all(x),greater<ll>())
27+
#define veccin(n) vll v(n); fi(n) cin>>v[i];
28+
29+
#define gcd(a, b) __gcd(a, b)
30+
#define lcm(a, b) ((a)*((b)/__gcd(a,b)))
31+
32+
#define endl "\n"
33+
#define nl <<endl
34+
#define sp <<' '
35+
#define sps <<' '<<
36+
#define yes cout<<"YES"<<endl
37+
#define no cout<<"NO"<<endl
38+
#define C(x) cout<< x <<endl;
39+
#define F i.first
40+
#define S i.second
41+
// ll arr[100000000]={0};
42+
43+
using namespace std;
44+
int main(){
45+
llt{
46+
ll n,k,b,s; cin>>n>>k>>b>>s;
47+
if(s<b*k || s>((b*k)+((k-1)*n))) {cout<<-1 nl; continue;}
48+
49+
ll temp = b*k;
50+
if((s-(b*k)-((k-1)*(n-1)))>0) temp += (s-(b*k)-((k-1)*(n-1))) ;
51+
ll temps = s-temp;
52+
cout<< temp sp;
53+
fi(n-1){
54+
if(temps>k-1) {cout<<k-1 sp; temps-= k-1;}
55+
else {cout<<temps sp; temps=0;}
56+
}
57+
cout nl;
58+
}
59+
}

Diff for: 1717B.cpp

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
#include<bits/stdc++.h>
2+
#define ll long long
3+
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);
4+
5+
#define fi(n) for(ll i=0; i<n; i++)
6+
#define fj(n) for(ll j=0; j<n; j++)
7+
#define rfi(n) for(ll i = n-1; i >=0; --i)
8+
#define fa(n) for(auto i:n)
9+
#define fa2(n) for(auto i:n) cout<<i<<' ';
10+
#define llt ll t; cin>>t; while(t--)
11+
#define lln ll n; cin>>n;
12+
#define llnm ll n,m; cin>>n>>m;
13+
#define llx ll x; cin>>x;
14+
#define llxy ll x,y; cin>>x>>y;
15+
#define llab ll a,b; cin>>a>>b;
16+
17+
#define vi vector<int>
18+
#define vll vector<ll>
19+
#define vs vector<string>
20+
#define pb push_back
21+
#define mp make_pair
22+
#define pbx ll xx; cin>> xx; v.pb(xx);
23+
#define pbs string xx; cin>> xx; v.pb(xx);
24+
#define all(x) x.begin(), x.end()
25+
#define srt(x) sort(all(x))
26+
#define rsrt(x) sort(all(x),greater<ll>())
27+
#define veccin(n) vll v(n); fi(n) cin>>v[i];
28+
29+
#define gcd(a, b) __gcd(a, b)
30+
#define lcm(a, b) ((a)*((b)/__gcd(a,b)))
31+
32+
#define endl "\n"
33+
#define nl <<endl
34+
#define sp <<' '
35+
#define sps <<' '<<
36+
#define yes cout<<"YES"<<endl
37+
#define no cout<<"NO"<<endl
38+
#define C(x) cout<< x <<endl;
39+
#define F i.first
40+
#define S i.second
41+
char v[509][509];
42+
43+
void f(int i,int j,int n,int k){
44+
if(i<0 || j<0 || i>=n || j>=n) return;
45+
if(v[i][j]=='X') return;
46+
47+
v[i][j]= 'X';
48+
f(i-k,j,n,k);
49+
f(i+k,j,n,k);
50+
f(i,j-k,n,k);
51+
f(i,j+k,n,k);
52+
f(i-1,j-1,n,k);
53+
f(i+1,j+1,n,k);
54+
f(i-1,j+k-1,n,k);
55+
f(i+1,j-k+1,n,k);
56+
}
57+
58+
using namespace std;
59+
int main(){
60+
llt{
61+
int n,k; cin>>n>>k;
62+
fi(n){
63+
fj(n){
64+
v[i][j]='.';
65+
}
66+
}
67+
int a,b; cin>>a>>b;
68+
f(a-1,b-1,n,k);
69+
fi(n){
70+
fj(n){
71+
cout<<v[i][j];
72+
}cout nl;
73+
}
74+
}
75+
}

Diff for: 1717B.exe

-45.9 KB
Binary file not shown.

Diff for: 1720C.exe

-47.6 KB
Binary file not shown.

Diff for: 1721B.exe

-45.4 KB
Binary file not shown.

Diff for: 1731B.cpp

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
#include<bits/stdc++.h>
2+
#define ll long long
3+
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);
4+
5+
#define fi(n) for(ll i=0; i<n; i++)
6+
#define fj(n) for(ll j=0; j<n; j++)
7+
#define rfi(n) for(ll i = n-1; i >=0; --i)
8+
#define fa(n) for(auto i:n)
9+
#define fa2(n) for(auto i:n) cout<<i<<' ';
10+
#define llt ll t; cin>>t; while(t--)
11+
#define lln ll n; cin>>n;
12+
#define llnm ll n,m; cin>>n>>m;
13+
#define llx ll x; cin>>x;
14+
#define llxy ll x,y; cin>>x>>y;
15+
#define llab ll a,b; cin>>a>>b;
16+
17+
#define vi vector<int>
18+
#define vll vector<ll>
19+
#define vs vector<string>
20+
#define pb push_back
21+
#define mp make_pair
22+
#define pbx ll xx; cin>> xx; v.pb(xx);
23+
#define pbs string xx; cin>> xx; v.pb(xx);
24+
#define all(x) x.begin(), x.end()
25+
#define srt(x) sort(all(x))
26+
#define rsrt(x) sort(all(x),greater<ll>())
27+
#define veccin(n) vll v(n); fi(n) cin>>v[i];
28+
29+
#define gcd(a, b) __gcd(a, b)
30+
#define lcm(a, b) ((a)*((b)/__gcd(a,b)))
31+
32+
#define endl "\n"
33+
#define nl <<endl
34+
#define sp <<' '
35+
#define sps <<' '<<
36+
#define yes cout<<"YES"<<endl
37+
#define no cout<<"NO"<<endl
38+
#define C(x) cout<< x <<endl;
39+
#define F i.first
40+
#define S i.second
41+
// ll arr[100000000]={0};
42+
43+
using namespace std;
44+
int main(){
45+
llt{
46+
lln;
47+
int N=1000000007;
48+
ll ans = ((((n*(n+1))%N)*((4*n-1)%N)*337)%N);
49+
ll ans= ((((n*(n+1))%N)*((4*n-1)%N)*337)%N);
50+
cout<< ans nl;
51+
}
52+
}

Diff for: 1732A.cpp

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
#include<bits/stdc++.h>
2+
#define ll long long
3+
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);
4+
5+
#define fi(n) for(ll i=0; i<n; i++)
6+
#define fj(n) for(ll j=0; j<n; j++)
7+
#define rfi(n) for(ll i = n-1; i >=0; --i)
8+
#define fa(n) for(auto i:n)
9+
#define fa2(n) for(auto i:n) cout<<i<<' ';
10+
#define llt ll t; cin>>t; while(t--)
11+
#define lln ll n; cin>>n;
12+
#define llnm ll n,m; cin>>n>>m;
13+
#define llx ll x; cin>>x;
14+
#define llxy ll x,y; cin>>x>>y;
15+
#define llab ll a,b; cin>>a>>b;
16+
17+
#define vi vector<int>
18+
#define vll vector<ll>
19+
#define vs vector<string>
20+
#define pb push_back
21+
#define mp make_pair
22+
#define pbx ll xx; cin>> xx; v.pb(xx);
23+
#define pbs string xx; cin>> xx; v.pb(xx);
24+
#define all(x) x.begin(), x.end()
25+
#define srt(x) sort(all(x))
26+
#define rsrt(x) sort(all(x),greater<ll>())
27+
#define veccin(n) vll v(n); fi(n) cin>>v[i];
28+
29+
#define gcd(a, b) __gcd(a, b)
30+
#define lcm(a, b) ((a)*((b)/__gcd(a,b)))
31+
32+
#define endl "\n"
33+
#define nl <<endl
34+
#define sp <<' '
35+
#define sps <<' '<<
36+
#define yes cout<<"YES"<<endl
37+
#define no cout<<"NO"<<endl
38+
#define C(x) cout<< x <<endl;
39+
#define F i.first
40+
#define S i.second
41+
// ll arr[100000000]={0};
42+
43+
using namespace std;
44+
int main(){
45+
llt{
46+
lln;
47+
vll v(n),v2(n);
48+
ll ans;
49+
fi(n){
50+
cin>>v[i];
51+
v2[i] = gcd(i+1,v[i]);
52+
if(i==0) ans= v[i];
53+
if(i!=0) ans = gcd(ans,v[i]);
54+
}
55+
// fa2(v2);
56+
// cout<< ans sp;
57+
58+
if(ans==1) cout<<0 nl;
59+
else if(gcd(ans,v2[n-1])==1) cout<<1 nl;
60+
else if(gcd(ans,v2[n-2])==1) cout<<2 nl;
61+
else cout<<3 nl;
62+
}
63+
}
64+
65+
66+
// 0
67+
// 1
68+
// 2
69+
// 2
70+
// 1
71+
// 3
72+
// 3
73+
// 0
74+
// 1
75+
76+
77+
// llt{
78+
// lln;
79+
// ll ans =0;
80+
// for (int i =1 ; i <= n; ++i)
81+
// {
82+
// ans += i* (i+i+1);
83+
// ans %= 1e9+7;
84+
// }
85+
// cout<< (ans*2022)%1e9+7 nl;
86+
// }

Diff for: 1794A.cpp

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
#include<bits/stdc++.h>
2+
#define ll long long
3+
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);
4+
5+
#define fi(n) for(ll i=0; i<n; i++)
6+
#define fj(n) for(ll j=0; j<n; j++)
7+
#define rfi(n) for(ll i = n-1; i >=0; --i)
8+
#define fa(n) for(auto i:n)
9+
#define fa2(n) for(auto i:n) cout<<i<<' ';
10+
#define llt ll t; cin>>t; while(t--)
11+
#define lln ll n; cin>>n;
12+
#define llnm ll n,m; cin>>n>>m;
13+
#define llx ll x; cin>>x;
14+
#define llxy ll x,y; cin>>x>>y;
15+
#define llab ll a,b; cin>>a>>b;
16+
17+
#define vi vector<int>
18+
#define vll vector<ll>
19+
#define vs vector<string>
20+
#define pb push_back
21+
#define mp make_pair
22+
#define pbx ll xx; cin>> xx; v.pb(xx);
23+
#define pbs string xx; cin>> xx; v.pb(xx);
24+
#define all(x) x.begin(), x.end()
25+
#define srt(x) sort(all(x))
26+
#define rsrt(x) sort(all(x),greater<ll>())
27+
#define veccin(n) vll v(n); fi(n) cin>>v[i];
28+
29+
#define gcd(a, b) __gcd(a, b)
30+
#define lcm(a, b) ((a)*((b)/__gcd(a,b)))
31+
32+
#define endl "\n"
33+
#define nl <<endl
34+
#define sp <<' '
35+
#define sps <<' '<<
36+
#define yes cout<<"YES"<<endl
37+
#define no cout<<"NO"<<endl
38+
#define C(x) cout<< x <<endl;
39+
#define F i.first
40+
#define S i.second
41+
// ll arr[100000000]={0};
42+
43+
using namespace std;
44+
int main(){
45+
llt{
46+
lln;
47+
ll ff= 2*n-2;
48+
vector<string> v(ff),ss;
49+
fi(ff){
50+
cin>>v[i];
51+
if(v[i].size()==n-1) ss.pb(v[i]);
52+
}
53+
ll nn = ss[0].size();
54+
bool temp=true;
55+
for (int i = 0; i < nn; ++i)
56+
{
57+
if(ss[0][i]!=ss[1][nn-1-i]){
58+
temp=false;
59+
break;
60+
}
61+
}
62+
if(temp) yes;
63+
else no;
64+
}
65+
}

0 commit comments

Comments
 (0)