You are viewing a single comment's thread. Return to all comments →
my output(stdout) and expected output are same ...but the sample test case is failed.why?
Try switching from C++ 11 to C++ 14. I tried it and worked out fine.
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Zig Zag Sequence
You are viewing a single comment's thread. Return to all comments →
my output(stdout) and expected output are same ...but the sample test case is failed.why?
Try switching from C++ 11 to C++ 14. I tried it and worked out fine.