这么无脑都有50,要被自己蠢死了awa
查看原帖
这么无脑都有50,要被自己蠢死了awa
1085336
concealing楼主2023/9/12 22:18

int main(void)  
{
    int n = 0;  
    char s[] = { '\0' };  
    char t[] = { '\0' }; 

    scanf("%s", s);
    scanf("%s", t);

    int m = (s[0]-64) * (s[1]-64) * (s[2]-64) * (s[3]-64) * (s[4]-64) * (s[5]-64);
    int lenth = (t[0] - 64) * (t[1] - 64) * (t[2] - 64) * (t[3] - 64) * (t[4] - 64) * (t[5] - 64);

    if (lenth = m)
    {
        printf("GO");
    }

    else
    {
        printf("STAY");
    }
    
       return 0;
    }```
2023/9/12 22:18
加载中...