I hereby claim:
- I am Jueast on github.
- I am jueastwang (https://keybase.io/jueastwang) on keybase.
- I have a public key whose fingerprint is 78FD CF5B C03F 4639 56E9 EB01 6120 19B6 CF0B 0A87
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #include <stdio.h> | |
| #include <string.h> | |
| int main(void){ | |
| char a[100],b[100],result[100]; | |
| int i,j,k,signr = 1,state = 0; | |
| scanf("%s",a); | |
| scanf("%s",b); | |
| for(i=80,j=strlen(a)-1,k = strlen(b)-1;i>=0;i--){//move the number | |
| if(j>=0) | |
| a[i] = a[j--] - '0'; |
| #include <stdio.h> | |
| int k; | |
| int main(void){ | |
| int x; | |
| scanf("%d%d",&k,&x); | |
| if (judge(x)) | |
| printf("YES.\n"); | |
| else | |
| printf("NO.\n"); | |
| return 0; |