simp1eton's blog

By simp1eton, 14 years ago, In English
Hi all,

I was coding Codeforces Beta Round #59 (Div. 2) Problem C and encountered some problems. Can someone please help me? Thanks!

Problem: http://www.codeforces.com/contest/63/problem/C
Code: http://pastebin.com/F5E4pJVx

I got this testcase wrong:

Testcase:
8

7954 0 1

5638 0 1

8204 0 2

8293 1 1

3598 0 1

0894 0 1

6324 1 2

0572 0 1

My answer:
Incorrect data
Correct answer:
Need more data
  • Vote: I like it
  • -1
  • Vote: I do not like it

14 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Because numbers
1423
4123
satisfy this input
so the answer is "Need more data"