1 solutions

  • 0
    @ 2024-11-13 19:45:59

    水题

    image 确实水 证明启航舱教育水

    代码:

    #include<bits/stdc++.h>
    using namespace std;
    string s;
    bool a;
    int main(){
    	
    	for(int i=1;i<=15;i++){
    		cin>>s;
    		if(s=="1-0"){
    			a=1;
    		}
    		else{
    			a=0;
    			break;
    		}
    	}
    	if(a){
    		cout<<"A";
    	}
    	else{
    		cout<<"E";
    	}
    	
    	return 0;
    }
    
    • 1

    Information

    ID
    692
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    7
    Tags
    (None)
    # Submissions
    109
    Accepted
    22
    Uploaded By