add test data

This commit is contained in:
2024-07-24 11:54:23 +00:00
parent 6c43aa77fb
commit 69adad54ad
55 changed files with 10071 additions and 0 deletions

15
test/testcases/gcd.c Normal file
View File

@ -0,0 +1,15 @@
#include "io.inc"
int gcd(int x, int y) {
if (x % y == 0)
return y;
else
return gcd(y, x % y);
}
int main() {
printInt(gcd(10, 1));
printInt(gcd(34986, 3087));
printInt(gcd(2907, 1539));
return judgeResult % Mod; // 178
}