2 comments

  • @ 2025-3-3 17:35:26

    #include<bits/stdc++.h> using namespace std; int main() { int n,d,ans; cin>>n; ans=(n-2)*180; for(int i=1;i<n;i++) { cin>>d; ans-=d; } cout<<ans<<endl;

    return 0;
    

    }

    👍 2
    • @ 2025-3-3 17:34:50

      瑞特特尔

      • 1

      Information

      ID
      80
      Time
      1000ms
      Memory
      256MiB
      Difficulty
      6
      Tags
      # Submissions
      124
      Accepted
      40
      Uploaded By