nishanth.molleti9's blog

By nishanth.molleti9, history, 2 months ago, In English,

Local Group

I would like to suggest that we make newer and efficient teams . I tried to join in quite a few groups but they are better coders than me . So , I would like to suggest that we create groups for the newbies and also people from closer locations must be able to know that there is some competition out in the near proximity . Maybe we create a medium of communication to new coders . This makes them feel better . They don't feel like they are isolated . This lets them focus more on coding.

Read more »

 
 
 
 
  • Vote: I like it
  • -20
  • Vote: I do not like it

By nishanth.molleti9, history, 2 months ago, In English,

Below is my code to the problem named taxi . I will also attach the link of the problem . Let me know where does my code break. https://codeforces.com/problemset/problem/158/B

my code in C language :-

include<stdio.h>

main() { float c; int n, a[100],i ,sum=0 ,d,e=0,f=0; scanf("%d",&n); if(1<n<100000) {

for(i=0;i<n;i++)
    scanf("%d",&a[i]);
for(i=0;i<n;i++)
{
    sum=sum+a[i];

}

// printf("%d\n",sum); c=sum/4; // printf("%f",c); d= fmod(sum,4); //printf("%d\n",d); if(d != 0) { e=c+1; printf("%d",e); } else if(d == 0) { f=c; printf("%d",f); } }

}

Read more »

 
 
 
 
  • Vote: I like it
  • -16
  • Vote: I do not like it

By nishanth.molleti9, history, 2 months ago, In English,

I have been trying to solve this problem lately and I find that there is something wrong with it . Can someone help me solving it. https://codeforces.com/contest/656/problem/A

The code i used to solve it is attached below (in C language)

include<stdio.h>

include<math.h>

main() { double a,c; scanf("%lf",&a); if(0<=a<=35){ c=pow(2, a); printf("%.0lf",c); } }

Please help me out :)

Read more »

 
 
 
 
  • Vote: I like it
  • -16
  • Vote: I do not like it