what should we do for last Testcase
Читать полностью…if anyone needs f, dm me
Читать полностью…Last testcase fail ho rha hai
Читать полностью…ha bhai glt to kiya hai
Читать полностью…Bhai koi questions bhejdo bs please
Читать полностью…@saurabh phele C to bhej
Читать полностью…#include<bits/stdc++.h>
using namespace std;
#define int long long
int32_t main()
{
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
vector<vector<char>>vec(n,vector<char>(4));
for(int i=0;i<n;i++)
{
for(int j=0;j<4;j++)
{
cin>>vec[i][j];
}
}
vector<int>ans;
for(int i=n-1;i>=0;i--)
{
for(int j=0;j<4;j++)
{
if(vec[i][j]=='#')
{
ans.push_back(j+1);
}
}
}
for(int i=0;i<ans.size();i++)
{
cout<<ans[i]<<" ";
}
cout<<endl;
}
return 0;
}
// B
There will be another case also right when minus 1 is done
Читать полностью…Yeh toh question mae bhi diya hai
Читать полностью…I found the max of ceil x and ceil y and multiplied with 2
Читать полностью…lol codeforces is too lag
Читать полностью…BBBB
void test()
{
int n;
cin >> n;
vector<string> v1(n);
for (int i = 0; i < n; ++i) {
cin >> v1[i];
}
for (int i = n - 1; i >= 0; --i) {
for (int j = 0; j < 4; ++j) {
if (v1[i][j] == '#') {
cout << (j + 1) <<" ";
break;
}
}
}
cout<<endl;
}
codeforces lag too much
Читать полностью…Last div 4 contest my D number code was skipped for copying.. I changed the variabale name name and other format but stll skipped.. Anyone help me.. If I copy code in this group then which item I can change for avoide skipped?
Читать полностью…code work is not working☺️
Читать полностью…bio wala bnda kha gya bhai
Читать полностью…Hmm c ka edge case kya h??
Читать полностью…C mae edge case samajh nhi aa rha
Читать полностью…kuch to galat kia hai bhai
Читать полностью…Questions please send not answers
Читать полностью…C ka logic btao yaar koi
Читать полностью…Are u taking ceil value of x\k
Читать полностью…par isme last tc fail ho ra
Читать полностью…calculate the minimum moves on required, X axis and Y axis, and then sum of total number of most in the maximum of X and Y axis
Читать полностью…i can't even submit my code
Читать полностью…Pleaseeeeeeeeeeeeeee
Читать полностью…#include <iostream>
using namespace std;
int main() {
int t;
cin >> t;
while (t--) {
int a, b;
cin >> a >> b;
int fck = b - a;
cout << fck << endl;
}
return 0;
}
Join @iscodefun for todays DIV4
Читать полностью…Anyone wants Harkirat Cohort 0-100 at lowest price ? Dm me
Читать полностью…Hi. Today's Div.4 solutions will be available.✅✅✅
Читать полностью…