5 solutions

  • 1
    @ 2025-4-11 17:01:43

    #include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int luogu=11+n3; int bendi=5n; if(luogu>bendi){ cout<<"Local"; } else{ cout<<"Luogu"; } return 0; }

    • 1
      @ 2024-5-19 15:22:52
      #include<bits/stdc++.h>
      using namespace std;  
      int main(){
          int n; 	
          cin>>n; 	
          int luogu=11+n\*3;
          int bendi=5\*n; 	
          if(luogu>bendi){
              cout<<"Local";
          }
          else{	
              cout<<"Luogu";
          }
          return 0; }
      
      • 0
        #include<bits/stdc++.h>
        #define int long long
        using namespace std;
        
        int n,a,b;
        
        signed main() {
        	cin>>n;
        	a=n*5;
        	b=n*3+11;
        	if(a<b){
        		cout<<"Local";
        	}else{
        		cout<<"Luogu";
        	}
        	return 0;
        }
        
        
        • 0

          `#include<bits/stdc++.h> #define int long long using namespace std;

          int n,a,b;

          signed main() { cin>>n; a=n5; b=n3+11; if(a<b){ cout<<"Local"; }else{ cout<<"Luogu"; } return 0; }`

          • -3
            @ 2024-5-21 17:53:57
            #include<bits/stdc++.h>
            using namespace std;  
            int main(){
                int n; 	
                cin>>n; 	
                int luogu=11+n\*3;
                int bendi=5\*n; 	
                if(luogu>bendi){
                    cout<<"Local";
                }
                else{	
                    cout<<"Luogu";
                }
                return 0; }
            
            • @ 2024-11-17 20:55:23

              6

            • @ 2025-4-11 16:53:46

              foo.cc:6:19: error: stray '' in program 6 | int luogu=11+n*3; | ^ foo.cc:7:16: error: stray '' in program 7 | int bendi=5*n; | ^

              0分

          • 1

          Information

          ID
          410
          Time
          1000ms
          Memory
          256MiB
          Difficulty
          4
          Tags
          (None)
          # Submissions
          113
          Accepted
          52
          Uploaded By