- 练28.1 多边形内角和
我让人
- 2025-3-3 17:34:45 @
热
2 comments
-
xiance065 LV 3 @ 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