16 条题解

  • 1
    @ 2024-11-19 16:10:01

    #include<bits/stdc++.h> using namespace std; int main(){ int a,b,n,c; cin>>a>>b>>n; c=b-a; n=a+(n-1)*c; cout<<n; return 0; }

    • 1
      @ 2024-2-22 10:53:06

      #include<bits/stdc++.h> using namespace std; int main(){ int a,b,n,c; cin>>a>>b>>n; c=b-a; n=a+(n-1)*c; cout<<n; return 0; }

      • -1
        @ 2024-2-22 11:19:51

        #include<bits/stdc++.h> using namespace std; int main(){ int a,b,n,c; cin>>a>>b>>n; c=b-a; n=a+(n-1)*c; cout<<n; return 0; } 是对的试过了😄 👍 👍 👍 👍

        • -4
          @ 2024-2-23 9:59:08

          #include<bits/stdc++.h> using namespace std; int main() { int a,b,n,c; cin>>a>>b>>n; c=b-a; n=a+(n-1)*c; cout<<n; return 0; } //首相+(项数减一)*公差

          • -4
            @ 2024-2-22 11:23:13
            #include<bits/stdc++.h>
            using namespace std;
            int main()
            { 
            int a,b,n,c;
             cin>>a>>b>>n;
              c=b-a;
               n=a+(n-1)*c; 
               cout<<n;
                return 0;
                 }
                 //首相+(项数减一)*公差
            
            • -4
              @ 2024-2-22 11:13:09

              #include<bits/stdc++.h> using namespace std; int main(){ int a1,a2,n,c; cin>>a1>>a2>>n; c=(a2-a1)*n-(a2-a1-a1); cout<<c; return 0; }

              • -4
                @ 2024-2-22 10:51:47

                #include<bits/stdc++.h> using namespace std; int main(){ int a1,a2,n,c,d; cin>>a1>>a2>>n; c=a2-a1; d=a1+c*(n-1); cout<<d; }

                • -5
                  @ 2024-2-22 10:51:45

                  #include<bits/stdc++.h> using namespace std; int main(){ int a1,a2,b,c,n; cin>>a1>>a2>>b; c=a2-a1; n=a1+(b-1)*c; cout<<n; }

                  • -6
                    @ 2024-2-23 10:00:37

                    #include<bits/stdc++.h> using namespace std; int main() { int a,b,n,c; cin>>a>>b>>n; c=b-a; n=a+(n-1)*c; cout<<n; return 0; } //首相+(项数减一)*公差

                    • -6
                      @ 2024-2-23 9:59:33

                      #include<bits/stdc++.h> using namespace std; int main() { int a,b,n,c; cin>>a>>b>>n; c=b-a; n=a+(n-1)*c; cout<<n; return 0; } //首相+(项数减一)*公差

                      • -6
                        @ 2024-2-23 9:59:32

                        #include<bits/stdc++.h> using namespace std; int main() { int a,b,n,c; cin>>a>>b>>n; c=b-a; n=a+(n-1)*c; cout<<n; return 0; } //首相+(项数减一)*公差

                        • -6
                          @ 2024-2-23 9:59:30

                          #include<bits/stdc++.h> using namespace std; int main() { int a,b,n,c; cin>>a>>b>>n; c=b-a; n=a+(n-1)*c; cout<<n; return 0; } //首相+(项数减一)*公差

                          • -6
                            @ 2024-2-23 9:59:29

                            #include<bits/stdc++.h> using namespace std; int main() { int a,b,n,c; cin>>a>>b>>n; c=b-a; n=a+(n-1)*c; cout<<n; return 0; } //首相+(项数减一)*公差

                            • -6
                              @ 2024-2-23 9:59:28

                              #include<bits/stdc++.h> using namespace std; int main() { int a,b,n,c; cin>>a>>b>>n; c=b-a; n=a+(n-1)*c; cout<<n; return 0; } //首相+(项数减一)*公差

                              • -6
                                @ 2024-2-23 9:59:28

                                #include<bits/stdc++.h> using namespace std; int main() { int a,b,n,c; cin>>a>>b>>n; c=b-a; n=a+(n-1)*c; cout<<n; return 0; } //首相+(项数减一)*公差

                                • -6
                                  @ 2024-2-23 9:59:16

                                  #include<bits/stdc++.h> using namespace std; int main() { int a,b,n,c; cin>>a>>b>>n; c=b-a; n=a+(n-1)*c; cout<<n; return 0; } //首相+(项数减一)*公差

                                  • 1

                                  信息

                                  ID
                                  1200
                                  时间
                                  1000ms
                                  内存
                                  128MiB
                                  难度
                                  2
                                  标签
                                  (无)
                                  递交数
                                  263
                                  已通过
                                  164
                                  上传者