---+++ Esercizio 1 ---++Test 1 *Input* <verbatim> N = {2,1}->{7,3}->{11,-2}->{19,2}->NULL M = {2,-1}->{7,-3}->{11,2}->{19,-2}->NULL </verbatim> *Output* <verbatim> N = NULL M = {2,-1}->{7,-3}->{11,2}->{19,-2}->NULL </verbatim> ---++Test 2 *Input* <verbatim> N = {1,-1}->{2,-1}->NULL M = {1,1}->{2,1}->{5,3}->{3,5}->{4,2}->NULL </verbatim> *Output* <verbatim> N = {3,5}->{4,2}->{5,3}->NULL M = {1,1}->{2,1}->{5,3}->{3,5}->{4,2}->NULL </verbatim> ---++Test 3 *Input* <verbatim> N = {1,1}->{2,1}->{5,3}->{3,5}->{4,2}->NULL M = NULL </verbatim> *Output* <verbatim> N = {1,1}->{2,1}->{5,3}->{3,5}->{4,2}->NULL M = NULL </verbatim> ---++Test 4 *Input* <verbatim> N = NULL M = {1,1}->{2,1}->{5,3}->NULL </verbatim> *Output* <verbatim> N = {1,1}->{2,1}->{5,3}->NULL M = {1,1}->{2,1}->{5,3}->NULL </verbatim> ---+++ Esercizio 2 ---++Test 1 *Input* <verbatim> 1 (10000 3) 3 </verbatim> *Output* <verbatim> (10000 3) 3 SI </verbatim> ---++Test 2 *Input* <verbatim> 3 (100 80) 592122 (5753 2892) 1263547389 (5753 2892) 441727949 </verbatim> *Output* <verbatim> (100 80) 592122 SI (5753 2892) 1263547389 SI (5753 2892) 441727949 NO </verbatim> ---++Test 3 *Input* <verbatim> 2 (10000 5000) 4294967294 (10000 5000) 1054062240 </verbatim> *Output* <verbatim> (10000 5000) 4294967294 NO (10000 5000) 1054062240 SI </verbatim> -- Users.JulindaStefa - 18 Jan 2008
This topic: Programmazione1
>
WebHome
>
Prog1PZ
>
HomeworksPZ0708
>
Testing4PZ0708
Topic revision: r2 - 2008-02-04 - JulindaStefa
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback