Hello everyone!
We are happy to invite you to participate in the International Coding League, 2024, conducted by the students of BITS Pilani, one of the flagship events of our technical fest APOGEE.
This will be a team programming contest and the duration of the contest will be 2 hours.
- Contest Link: International Coding League — Round 1
- Registration Form: Click Here
- Date: [contest_time:105039]
Note: Contest Registration on Codeforces will start 6 hours before the contest, in the meantime you can fill out the registration form provided above.
Both rounds of the contest will be held on Codeforces, and would be in teams of 1 or 2. The prize pool for the online round is INR 17000 (5K + 3K + 2K + 7 * 1K). To be eligible for these prizes (and to participate in the next round), teams must fill the registration form.
The Top 25 teams in this round along with 15 teams from BITS Pilani would qualify to the second round, which would be held offline at BITS Pilani, Pilani campus on 6th April, 2024. The prize pool for the offline round is INR 30000 (15K + 10K + 5K).
The problem setters and testers are: CaptainUknown, AAK, SiRBruce, Lakshit_Sethi, devk27, nya and Bhaskar1702.
We hope you enjoy the contest and have fun!
Happy Coding! :)
Reminder 1 : ICL Round 1 is scheduled for 8 PM IST on 26th March 2024. Do not forget to fill out the registration form to be eligible for the prizes! Registration on Codeforces will begin 6 hours before the contest.
UPD1 : Registrations for the contest have started on Codeforces. You can make your team and register for the contest now!
UPD2 : Contest Starting in 1 Hour !
UPD3 : Contest is Live!!! All the Best!
UPD4 : Congratulations to all the winners, and thank you to all participants! We will be contacting the winners for the prizes shortly.
UPD5 : We are addressing all the issues.
CaptainUknown ORZ
ORZ
ORZ
ORZ
ORZ
ORZ
Everyone do take part
Can non-Indian win prize?
Will update you on this by tomorrow!
UPD1 — Yes, Non-Indians will be able to get the prizes in the online round. You will have to fill out the registration form to be eligible.
What about non-student participants?
That is not an issue, just fill out the registration form!
Is it necessary for the team members to be from the same college or university?
No it is not necessary for the team members to be from the same university.
Number of questions and difficulty is like div 2 ??
Difficulty of Round 1 will be near to a Div 2, there will be 7-8 questions.
loved last year's ICL, really looking forward to this!
can't wait to take part in ICL this year too!!!
my friend ahmadexe is unable to actually open the contest page. I registered him as a team member on google form. What is wrong?
This should not be happening, maybe try again some time later.
this is what my teammate is getting
here's a screenshot of it as well. I have no idea what's wrong. Edit: the link of image isn't working. Here's a direct link:
https://ibb.co/P4cvpfC do we need to re-register or something?
Make sure they click the invitation link and not just enter the contest link directly
Where will the contest link be available?
Contest Link is on the post, Registrations will go live on Codeforces 6 hours before the contest, meanwhile you can fill out the registration form to be eligible for the prizes!
I have not received any conformation after filling the google form, is it fine?
Yes that is fine.
is in sorted order?
how to c? I tried this but din't work:
conversion will start from smallest, so out target color is c[min(a)] if their are already same color as c[min(a)], we ignore it. otherwise we increase the cost. cost — k is the answer
if you get it pls share i was stuck at c too similar approach
F was a bit standard i guess :)
Funnily enough, H was exactly the same problem.
I got that as well but just couldn't frame it in time :(
Exactly, I read H and was so confused if I am solving the right problem until I got AC.
https://atcoder.jp/contests/arc085/tasks/arc085_c
What about G1? :)
rip
Question G1 on AtCoder would be like:
Count number of connected labelled graphs with $$$n$$$ nodes.
I just searched $$$728$$$ on oeis and found this.
Why this approach for C is wrong ?
Find the smallest number in array A, then find the maximum frequency of b[i] where a[i]=min element, then answer is max(0, n-freq[col[b[i]] — k)
Does the solution of G2 involve convolution?
G1 and G2 here
What is so special about D? I see many people couldn't do it from first try, and we also failed it.
I did - searching the best root to minimise the largest leaf depth - hanging the tree to it - for each node now,
res += depth[node] / 2 * population[node]
Is the idea wrong or I just implemented it poorly?..
Try this for 1-2-3 tree, the correct root to hang on is 1.
Hell..
Ok, seems legit :) I didn't think that I might take larger depth without affecting the time, but seems I can take D + 1 preserving the same time.
Thank you
I just had a question regarding C problem for the test case
1
8 4
1 2 3 3 3 3 3 3
1 2 3 3 3 4 4 4
here the answer that got accepted for problem is 1, however if we look at the case where the value is 1 it is when ball with a[i]=3 and colour[i]=3, however it is not possible to colour all the balls '3' since even if i remove the balls with index=0,1,5,6 i will have a ball left with a[7]=3 and colour[7]=4, which is not colourable since a[i]<a[j] is not met. I was wondering if there is something that I am missing?
I believe the test cases are made such that answer is always possible so this type of test cases won't be there
The answer is possible for this testcase also it will be 3
Then its just weak tests :)
this bothered me in the contest and I came up with that we should always start from first k a_i such that freq of that is maximum. I did this but I got wrong answer.
Can anyone please tell why my code for B gives WA on test 2 or find a countercase, i ran several stresses on my solution and it couldn't find any countercase.
I just added assertions and turns out that the condition $$$e_i < s_{i+1}$$$ is giving runtime error on test 2. RIP :(
CaptainUknown please check the testcases.
was E a dp problem?
Yes
Has anyone passed $$$O(N^2 \cdot M^2 \cdot (N + M))$$$ in [problem:105039E]?
Yes
How did you take care of TLE in test 16? Also, your accepted solution takes 951 ms. Either this is not the intended solution or the time limit is too tight.
Yeah initially I also got tle on 16 , when you calculate prefix sum cache it also .
include<bits/stdc++.h>
using namespace std;
define int long long int
define endl '\n'
int n,m; int arr[50][50]; int dpsum[50][50][50][50]; int dp[50][50][50][50]; vector<vector> prefix_sum;
int sum(int rowup,int rowdown,int colleft,int colright){ // cout<<rowup<<" "<<rowdown<<" "<<colleft<<" "<<colright<<endl;
}
int rec(int rowup,int rowdown,int colleft,int colright){ if(rowup==rowdown && colleft==colright){ return 0; }
}
void solve(){ cin>>n>>m; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ cin>>arr[i][j]; } }
} int32_t main(){ ios_base::sync_with_stdio(0); cin.tie(0);cout.tie(0);
}
Please upload editorial
Please upload editorial
How can i solve Tree Disaster ( Problem D ) , i tried to take the mid point of the diameter but it gave WA 2 ?
There could be multiple diameters and hence multiple mid-points, you need to take the one with least index
luckily win this as a team with only myself, is there an official scoreboard and how would you transfer the prize?