plz check this once,dont kow why this is not working
Spiral Print code not working
the if condition are not needed
this code works for all dimensions
ok thanks got it
its working in CB ide but don’t know why its not working on visual studio,not taking any inputs
Can you help with this
make the array global variable
its strange though passing it as simple 2d array should had also worked
havent happened to me ever.
making a[1000][1000] as global makes it work well
Thanks this worked,can you tell any logic behind this
apparantely no.
its quite strange
i just did a hit and trial
hasnt happened to me ever, why would passing an array not work
it does , it should
I usually work with vectors so do not face a similar problem
okk thanks for the info
Question:
https://hack.codingblocks.com/app/contests/1313/p/209
My Solution:
couldn’t find a place to ask doubt regarding problems on hackerblocks
All test cases not passing , need some help
Thanks , not proficient with vectors as of now but i understood the logic and modified my code to work it with array its working now.
Can you please tell where to ask doubts regarding hackerblocks questions, i cannot find any place
hi, so u can create a separate thread and in the subject u could specify hackerblock doubt
like u could send the link of hackerblock q
ur code link
and under any of ur course question which has a ask doubt option post it.
ur doubt will be acknowldeged by some TA
ok thanks for the info
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.