From 72af0dedf9e18911da65b9a5c4906689e868d9fc Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Mon, 8 Jun 2026 17:10:31 +0800 Subject: [legacy] Add functional and performance test suites --- rcc-legacy/tests/upload/gcd.sy | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 rcc-legacy/tests/upload/gcd.sy (limited to 'rcc-legacy/tests/upload/gcd.sy') diff --git a/rcc-legacy/tests/upload/gcd.sy b/rcc-legacy/tests/upload/gcd.sy new file mode 100644 index 0000000..881c52d --- /dev/null +++ b/rcc-legacy/tests/upload/gcd.sy @@ -0,0 +1,42 @@ +int gcd1(int m,int n) +{ + int t,r; + if (m0){ + int m=getint(); + int n=getint(); + int t1=gcd1(m,n); + int t2=gcd2(m,n); + putint(t1); + putch(10); + putint(t2); + putch(10); + num=num-1; + } + + return 0; +} \ No newline at end of file -- cgit v1.2.3