To register:
If you are interested just register by clicking on the “Going” button below the title of this post at the top.
Note: Entry to the Zoom session will be on first come first serve basis - limited to 100 seats.
Platform for video conferencing: Zoom Meetings
Rest of the participants can join live on CodeChef’s YouTube channel , where the discussions will be parallely streamed.
If there are any specific queries that you have from these problems, please post them below after the contest, and we will try to answer them during the session.
[Update 1]
Zoom meeting details:
[Official] May Lunchtime 2020 - Post-contest discussion - Live stream session
Time: Jun 1, 2020 05:00 PM India
Zoom Meeting URL
Meeting ID: 897 3283 5257
Password: 565136
[Update 2]
Catch the YouTube Live stream here:
[Update 3]
We’d love to hear your thoughts on this session! Kindly share your valuable feedback here:
Thanks to codechef for organizing this discussion a day later.That gives us time to try our hands on all the problems and then participate in discussion.
I am getting the required output in an ide but its not getting ac,so can someone point out whats the issue with this code
Scanner sc = new Scanner(System.in);
int t=sc.nextInt();
while(t–>0){
int sum=0;
int n =sc.nextInt();
int a[] = new int[n];
int b[] = new int[n];
for(int i=0;i<a.length;i++){
a[i]=sc.nextInt();
}
for(int i=0;i<b.length;i++){
b[i]=sc.nextInt();
}
for(int i=0;i<n;i++){
if(a[i]==b[i]){
sum = sum +a[i];
}
}
System.out.println(sum);
}
You are just checking if the speed at i-th second is same or not. You also have to check if the distance covered by both alice and bob is same till the i-th second.
eg: for testcase
1 2 3
1 3 3
correct answer will be 1
@rajarshi_basu Thanks a lot! After using set, i am able to get partially correct answer. However, after using counting sort i am still getting TLE for subtask 2.
@admin@vijju123 With this contest i have completed my 12 months 100% attendance but still didn’t get any laddus. Are laddus still not distrubuted??? Please let me know…