Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

贡献一点点数据

Posted by tkys at 2018-10-30 11:25:57 on Problem 2947

7 7
1 SUN    SUN
2
1 FRI FRI
3 
1 SAT SAT
4 
1 WED WED
5 
1 TUE TUE
6 
1 THU THU
7 
1 MON MON
1

5 6
7 MON SUN
1 1 2 1 2 1 2 
7 MON SUN
1 5 1 5 1 4 1 
7 MON SUN
1 1 1 5 1 1 1 
7 MON SUN
1 1 4 4 4 1 1 
7 MON SUN
1 1 1 3 3 1 1 
7 MON SUN
1 2 2 1 1 1 1 



3 3
3 FRI FRI
1 2 3
2 TUE TUE
1 2 
2 WED THU
1 3 

 
2 3
2 MON THU
1 2
3 MON FRI
1 1 2
3 MON SUN
1 2 2

10 2
1 MON TUE 
3
1 MON WED
3

0 0


答案是:


8 8 8 8 8 8 8
Multiple solutions.
9 6 7
8 3
Inconsistent data.





第一组直接确定解;

第二组都为0 或者都为 1都可以(mod 7);

第三组 9 + 6 mod 7 = 1 ; 9 + 7 mod 7 3 ; 9 + 6 + 7 mod 7 = 1 ;
仅有一组解;

四五组为样例;


还有就是这个题数据不够强;

有些程序过不了第二组也可以a的 , ;

不过感觉确实不好出;

考虑n和m的关系还有解的情况要有9种;

然而并不好生成。。。。。。

只能手玩;














Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator