F - (False) faces
08.01.2010
![]() ![]() ![]() ![]() Time limit: 60 s
The Company is testing its brand new face recognition solution.
The application is supposed to recognize people given their profiles. It is fed with a number of test cases to check if everything is working fine. Each test consists of
In order to test the program, it is necessary to verify every possible consistent reconstruction. The verification has to be done by humans and the Company has a team of four experts who devoted their lives to face recognition. They are willing to do the job under one condition: their shares of work have to be equal, i.e., the number of consistent reconstructions has to be divisible by four. Your task is to check if it is so. Multiple Test Cases
The input contains several test cases. The first line of the input contains a positive integer Single Instance Input
The first line contains the number Single Instance Output
The output should consist of one line containing YES if the number of reconstructions consistent with the program assignment is divisible by ExampleInput2 4 1100 1100 0011 0011 3 111 011 001 OutputYES NO Nie możesz wysyłać i oglądać rowiązań tego zadania ponieważ nie jesteś zalogowany. Zaloguj się lub załóż konto. |
Copyright © 2008-2010 Wrocławski Portal Informatyczny
design: rafalpolito.com