9 條題解

  • 0
    @ 2025-11-14 20:15:20
    #include<stdio.h>
    #include<string.h>
    int main(){
    char str1[1001];
    char str2[1001];
    scanf("%1000s",str1);
    
    scanf("%1000s",str2);
    int n=strcmp(str1,str2);
    if(n<0){
        printf("YES");
    }
    else if(n>0){
        printf("NO");
    }
    else if(n==0){
        printf("eorr");
    }
    return 0;
    }
    

    資訊

    ID
    38
    時間
    1000ms
    記憶體
    128MiB
    難度
    8
    标签
    遞交數
    5231
    已通過
    689
    上傳者