Блог пользователя atcoder_official

Автор atcoder_official, история, 2 года назад, По-английски

We will hold AtCoder Beginner Contest 358.

We are looking forward to your participation!

  • Проголосовать: нравится
  • +78
  • Проголосовать: не нравится

»
2 года назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится

exited

»
2 года назад, скрыть # |
 
Проголосовать: нравится +37 Проголосовать: не нравится

Only 550 pts G!

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Hi, i am new to competitive programming and new to AtCoder. I am curious about the rating score of ABC questions, what are their equivalent codeforces rating scores? Is their a formula that can do the conversion? Thx

»
2 года назад, скрыть # |
 
Проголосовать: нравится +26 Проголосовать: не нравится

I refuse to write solution for F even if i'm getting paid.

»
2 года назад, скрыть # |
← Rev. 10  
Проголосовать: нравится +4 Проголосовать: не нравится

What the fuck is the output format of problem F ???

What's the meaning of and the connected component containing the vertices (1,M) and (N,M) consists only of this path. ???

just for harder implementation ???

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

26 correct 2 WA on C any idea submission

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

any idea for g?

»
2 года назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится
»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

how E?

»
2 года назад, скрыть # |
 
Проголосовать: нравится +23 Проголосовать: не нравится

Problem F is frustrating. I accept the other six problems quickly with no penalty, but I had wrong F for 5 times.

»
2 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

[deleted]

»
2 года назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится

Why does the C++ solution in the problem E's editorial unavailable?

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I think, I solved problem like today's F not long time ago, but don't remember, where. Anyone remember?

Also, what happened with problem G? I've never seen anything such simple on this position.

»
2 года назад, скрыть # |
 
Проголосовать: нравится +7 Проголосовать: не нравится

Anyone could hack my F please? I have been testing on it for about 1 hour but I don't know why it gets WA*3.

#include<bits/stdc++.h>
#define int long long
using namespace std;
const int maxn=100+10;
int n,m,k,a[maxn]; 
void solve(){
	cin>>n>>m>>k;
	if(k<n||(k&1)!=(n&1)) return cout<<"No"<<endl,void();
	int now=n;
	for(int i=1;i*2<=n;i++){
		if((k-now)/2<=m-1){
			a[i]=(k-now)/2;
			now=k;
			break;
		}
		a[i]=m-1,now+=m*2-2;
	}
//	for(int i=1;i*2<=n;i++) cout<<a[i]<<endl;
	if(now!=k) return cout<<"No"<<endl,void();
	int N=n*2+1,M=m*2+1;
	cout<<"Yes"<<endl;
	for(int i=1;i<=N;i++){
		if(i==1){
			for(int j=1;j<=M;j++) cout<<(j==M-1?'S':'+');
		}
		else if(i==N){
			for(int j=1;j<=M;j++) cout<<(j==M-1?'G':'+');
		}
		else if(i%2==0){
			for(int j=1;j<=M;j++){
				if(j==M||j==1) cout<<"+";
				else if(j%2==0) cout<<"o";
				else cout<<(m-j/2>a[(i-2)/4+1]?'|':'.');
			}
		}
		else{
			if((i/2)&1){
				for(int j=1;j<=M;j++){
					if(j&1) cout<<"+";
					else cout<<(m-j/2+1<=a[(i-2)/4+1]?'-':'.');
				}
			}
			else{
				for(int j=1;j<=M;j++){
					if(j&1) cout<<"+";
					else cout<<(j/2==m?'.':'-');
				}
			}
		}
		cout<<endl;
	}
}
signed main(){
	ios::sync_with_stdio(false);
	cin.tie(0),cout.tie(0);
	int t=1;
//	cin>>t;
	while(t--) solve();
	return 0;
}

»
2 года назад, скрыть # |
 
Проголосовать: нравится +11 Проголосовать: не нравится

https://atcoder.jp/contests/abc358/submissions/54597481

Could someone please tell why my D fails ???

»
2 года назад, скрыть # |
 
Проголосовать: нравится +15 Проголосовать: не нравится

Can someone say why my Problem D is TLE Submission

»
2 года назад, скрыть # |
 
Проголосовать: нравится +7 Проголосовать: не нравится

Can someone please debug my Problem G(18xAC,18xRE)Submission

»
2 года назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

In problem F, O(n^2) is enough guys; all you have to do is do very little HOLY CASEWORK!!!

»
2 года назад, скрыть # |
 
Проголосовать: нравится +15 Проголосовать: не нравится

Do they make AI more difficult to understand the statement by modifying important information in Problem F many times?

  • »
    »
    2 года назад, скрыть # ^ |
     
    Проголосовать: нравится +10 Проголосовать: не нравится

    That's right!

  • »
    »
    2 года назад, скрыть # ^ |
     
    Проголосовать: нравится +14 Проголосовать: не нравится

    I don't think so. I had never seen the input format or the output format when I was trying to solve Problem F because it's too long, but I still understand what the problem want me to do. I think AI is smart, and it may easily understand what did the problem mean. If AI can solve Problem F with correct information, it can also accept Problem F with wrong format.

    ABC is for more than ten thousand people. If the question surface is wrong, it will make many people feel confusion. So I think it's no need to modifying importand information in order to make AI more difficult to understand Problem F.

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

E was such a good problem.

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится
»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

G is a nice follow up to the recent Atcoder problem : ABC344F : Earn to Advance. I also have a blog, hints and practice contest for the concepts used in the first problem.

»
2 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

F is surprisingly neat if figure out the pattern, very fun to upsolve.

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I don't like how I can go from TLE to a relatively fast AC in E simply by precomputing nck values.

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

OMG i don't know why i did not try to solve G, got stuck in F, when i read G i thought some matrix exponentiation stuff so i left it. i should have tried G

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Can problem G be solved using Dijkstra's Algorithm?

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

The G is pretty simple than usual rounds:D

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I think G is easier than E.

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Who has stronger data to help me hack my code for F question please?I have tried all the known strong data.submission

»
2 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

Found a test that fails the fastest solution for task G.

1 9 34

1 4

80 28 4 98 84 2 67 57 100

The optimal solution is to take 98 * 34 = 3332, but merhorn's solution outputs 3330