14 条题解

  • 7
    @ 2024-2-20 8:25:19
    #include<iostream>
    using namespace std;
    int main(){
    	int R1,R2,S;
        cin>>R1>>S;
        cout<<2*S-R1; 
        return 0;
    }
    
    • 4
      @ 2024-2-21 9:19:45
      #include<iostream>
      using namespace std;
      int main(){
      	int R1,R2,S;
          cin>>R1>>S;
          cout<<2*S-R1; 
          return 0;
      }
      
      • 2
        @ 2024-2-21 9:37:42
        #include<iostream>
        using namespace std;
        int main(){
        	int R1,R2,S;
            cin>>R1>>S;
            cout<<2*S-R1; 
            return 0;
        }
        
        • 1
          @ 2025-2-15 11:17:54

          #include <stdio.h>

          int main() { int a,b; scanf("%d",&a); if(a%40){ if(a%100!=0){ b=1; }else{ if(a%4000){ b=1; }else{ b=0; } } }else{ b=0; } printf("%d",b);

          return 0;
          

          }

          • 1
            @ 2024-3-2 11:21:43
            #include<iostream>
            using namespace std;
            int main(){
            	int a,b,c;
            	cin>>a>>b;
            	c = b*2-a;
            	cout<<c;
            	return 0;
            }
            
            • 1
              @ 2024-2-21 9:38:03
              #include<iostream>
              using namespace std;
              int main(){
              	int R1,R2,S;
                  cin>>R1>>S;
                  cout<<2*S-R1; 
                  return 0;
              }
              
              • 0
                @ 2025-2-18 11:38:24

                #include using namespace std; int main(){ int R1,R2,S; cin>>R1>>S; cout<<2*S-R1; return 0; }

                • 0
                  @ 2025-2-15 11:18:42

                  #include using namespace std; int main(){ int R1,R2,S; cin>>R1>>S; cout<<2*S-R1; return 0; }

                  • 0
                    @ 2025-2-15 11:18:21

                    萧宇 (ws247chenlixue1) LV 4 @ 11 个月前 #include using namespace std; int main(){ int R1,R2,S; cin>>R1>>S; cout<<2*S-R1; return 0; } 3

                    ws247wangyuqiu1 LV 3 @ 11 个月前 #include using namespace std; int main(){ int R1,R2,S; cin>>R1>>S; cout<<2*S-R1; return 0; }

                    • 0
                      @ 2024-12-29 12:29:38

                      #include using namespace std; int main(){ int a,b; cin>>a>>b; cout<<a*2-b; }

                      • 0
                        @ 2024-3-2 11:22:34
                        #include<iostream>
                        using namespace std;
                        int main(){
                        	int a,y,x;
                            cin>>a>>x;
                            cout<<2*x-a; 
                            return 0;
                        }
                        
                        • 0
                          @ 2024-2-20 10:46:57
                          #include<iostream>
                          using namespace std;
                          int main(){
                          	int R1,R2,S;
                              cin>>R1>>S;
                              cout<<2*S-R1; 
                              return 0;
                          }
                          
                          • -3
                            @ 2024-2-21 9:10:51

                            #include using namespace std; int main() { int R1,R2,S; cin>>R1>>S; R2=2*S-R1; cout<<R2; return 0; }

                            • -6
                              @ 2024-2-19 20:20:59

                              23456781 using namespace std;int main(){ int R1,S,R2; cin>>R1>>S; cout<<S*2-R1; return 0;}#include <bits/stdc++.h>

                              • 1

                              信息

                              ID
                              2123
                              时间
                              1000ms
                              内存
                              256MiB
                              难度
                              1
                              标签
                              递交数
                              1323
                              已通过
                              627
                              上传者