T

@thecorgi787

4774

C++
5 months ago
#include <cstdio> #include <algorithm> using namespace std; int a[100005]={}; int t[100005]={}; int main() { int n;

4774

C++
5 months ago
#include <cstdio> #include <algorithm> using namespace std; struct Strawberry { int a; int t; };

8966

C++
6 months ago
#include <cstdio> int a[200005]={}; int main() { int n; scanf("%d",&n); for(int i=0; i<n; i++) {

3515

C++
6 months ago
#include <cstdio> int n; int m[15][15]={}; int check[15]={}; int max=0; void f(int r, int s) { if (r==n)

2652

C++
6 months ago
#include <cstdio> int n,k; int f(int a,int b) { if(b==k) return 1; if(a>n) return 0; return f(a+2,b+1)+f(a+1,b);

3506

C++
6 months ago
#include <cstdio> int f(int n) { if(n==1) return 1; if(n==2) return 2; return f(n-1)+f(n-2); }

1917

C++
6 months ago
#include <cstdio> long long f(int n,int k) { if(k==0) return 1; if(n==1) return 1; if(n==-1) {

2748

C++
7 months ago
#include <cstdio> int m,n; int num[25]={}; int c=0; void f(int i, int s) { if(i==n) { if(s==m)

1953

C++
7 months ago
#include <cstdio> void f(int n) { if(n==0) return; printf("*"); f(n-1); }

1921

C++
7 months ago
#include <cstdio> char di[20]="0123456789ABCDEF"; void f(int n, int k) { if(n>=k) f(n/k,k); printf("%c",di[n%k]); }

1858

C++
7 months ago
#include <cstdio> int f(int n, int k) { if(k==1 || k==n) return 1; return f(n-1,k-1)+f(n-1,k); } int main()

1919

C++
7 months ago
#include <cstdio> void f(int n) { if() printf("%d",n%10); f(n/10); }

1929

C++
7 months ago
#include <cstdio> void f(int n) { if(n%2!=0 && n!=1) f(3*n+1); else if(n!=1) f(n/2); printf("%d\n",n); }

1920

C++
7 months ago
#include <cstdio> void f(int n) { printf("%d",n%2); if(n/2) f(n/2); } int main()

1714

C++
7 months ago
#include <cstdio> void f(int n) { printf("%d",n%10); if(n/10) f(n/10); } int main()

1928

C++
7 months ago
#include <cstdio> int f(int n) { printf("%d\n",n); if(n==1) return 0; if(n%2!=0) return f(3*n+1); else

1915

C++
7 months ago
#include <cstdio> int f(int n) { if(n<=2) return 1; return f(n-1)+f(n-2); } int main()

1902

C++
7 months ago
#include <cstdio> int f(int n) { if(n==0) return 0; printf("%d\n",n); f(n-1); return 0; }

1901

C++
7 months ago
#include <cstdio> int a=1; int f(int n) { if(n==0) return 0; f(n-1); printf("%d\n",n); return 0; }

2428

C++
7 months ago
#include <cstdio> #include <algorithm> using namespace std; int f[100005]={}; int main() { int n; scanf("%d",&n);