9 条题解

  • 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;
    }
    
    • 3
      @ 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
          @ 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
              @ 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; }

                  • -5
                    @ 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
                    标签
                    递交数
                    951
                    已通过
                    419
                    上传者