Case #1: ((2))
On Wednesday, April 8, 2020 at 10:36:20 AM UTC+2, Paul Smith wrote:
>
> What is your output for 2?
>
> It should be ((2)) but I think you’ll get ((2)) with your program?
>
> On Wed, 8 Apr 2020 at 05:30, Avinash Bhardwaj > wrote:
>
>>
The output is Case #1: ((2))
On Wednesday, April 8, 2020 at 10:36:20 AM UTC+2, Paul Smith wrote:
>
> What is your output for 2?
>
> It should be ((2)) but I think you’ll get ((2)) with your program?
>
> On Wed, 8 Apr 2020 at 05:30, Avinash Bhardwaj > wrote:
lification Round 2020 - Code Jam 2020
timeline
3
question_answer
Nesting Depth (5pts, 11pts)
Practice Submissions
Attempt 1
Sample Failed: WA
Apr 5 2020, 09:03
remove_red_eye
Competitive Submissions
Attempt 2
Sample Failed: WA
19:43:51
remove_red_eye
Attempt 1
Sample Failed: WA
19:41:01
I prepared several testcases and each one is passing as per the rules
stated in the problem. But still I get WA: wrong answer. Could anyone point
me out to a possible case where my solution fails? It'd be great help
#include
#include
#include
using namespace std;
int main()
{
int T , N ;
the code prints a new line character with endl, the \0
> is redundant, causing that pesky WA error. I ran your code without adding
> the \0 to the output, and it passed both test cases. Hope this helps!
>
> Best,
> Matt
>
>
> On Monday, April 6, 2020 at 8:56:20 PM UTC-4, A