am getting problem in submitting the code. when am running it in ide it is giving correct input but as am submitting it, it is running infinite loop.
Problem with subbmission
Mention problem link and paste your code on coding blocks online IDE and share the link here
- 1st code link (https://ide.codingblocks.com/s/59959)
- 2nd code link (https://ide.codingblocks.com/s/60257)
Mention problem name and problem link
- 1st problem link (https://online.codingblocks.com/player/11039/content/5027?s=1493)
- 2nd problem link (https://online.codingblocks.com/player/11039/content/5023?s=1493)
Can u just mention problem name as we dont have access to online material
PATTERN NUMBERS & STARS - 1
PATTERN NUMBERS & STARS - 2
patterns-challenge
okey. Abhi codechef pe short contest start hone wala h…Uske complete hote hi I will solve your doubt.
okay. thanku so much
Hey Ishita,
In pattern & Stars 1
at N=6
you are printing
1 2 3 4 5
1 2 3 4 *
1 2 3 * * *
1 2 * * * * *
1 * * * * * * *
Required output
1 2 3 4 5 6
1 2 3 4 5 *
1 2 3 4 * * *
1 2 3 * * * * *
1 2 * * * * * * *
1 * * * * * * * * *
In code
line 6
change
int temp=n;
Hit like if u get it
thanku
i submitted both the code
sorry to ask again but again am getting the same problem
question:- https://online.codingblocks.com/player/11039/content/4703?s=1493(Pascal triangle)
solution:-https://ide.codingblocks.com/s/61429
can u please look to it
Hi Ishita, I’ve replied to this query in the other thread that you created. Please don’t post a doubt multiple times.