Need help in this repeated subproblem

Revision en1, by The-2024ECPCwinner, 2023-12-18 09:44:18

I met this problem as a subproblem many times and tried to find a solution for it but failed ,So I make an elegent statement for Your text to link here...

Example : Input : 3 4 5 7 8 9 1 5 4 5 7 9 8 3 9 7 8 Output : YES 5 7 8 Input : 3 4 5 7 8 9 1 5 2 5 7 1 7 Output : NO

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en6 English The-2024ECPCwinner 2023-12-18 10:11:32 83
en5 English The-2024ECPCwinner 2023-12-18 10:10:49 182
en4 English The-2024ECPCwinner 2023-12-18 09:51:54 119
en3 English The-2024ECPCwinner 2023-12-18 09:49:27 234
en2 English The-2024ECPCwinner 2023-12-18 09:48:05 93
en1 English The-2024ECPCwinner 2023-12-18 09:44:18 404 Initial revision (published)