Competitive Programming Solutions
415 subscribers
11 files
33 links
Download Telegram
DM me for solutions
All questions done
First join the channel then send me screenshot in DM and will provide you the solution
Releasing answers in 5 minutes
#include <bits/stdc++.h>
using namespace std;
int main(){
long long t;
cin>>t;
for(int j=0;j<t;j++){
long long n,s,y;
cin>>n>>s;
y=s/((n/2)+1);
cout<<y<<endl;
}
return 0;
}
MEDIAN MAXIMIZATION SOLUTION
COMPLETE 20 SUBS FOR NEXT SOLUTION
IS CODE WORKING?
Anonymous Poll
78%
YES
22%
NO
Competitive Programming Solutions pinned «#include <bits/stdc++.h> using namespace std; int main(){ long long t; cin>>t; for(int j=0;j<t;j++){ long long n,s,y; cin>>n>>s; y=s/((n/2)+1); cout<<y<<endl; } return 0; }»
COMPLETE 20 SUBS FOR NEXT SOLUTION
Screenshot (6).png
158.5 KB
MEDIAN MAXIMIZATION OTHER SOLUTION
Please open Telegram to view this post
VIEW IN TELEGRAM
NEXT SOLUTION ON 30 SUBSCRIBERS
Competitive Programming Solutions pinned «This message couldn't be displayed on your device due to copyright infringement.»