Codeforces Testing Round #10 A. Forgotten Episode
生活随笔
收集整理的這篇文章主要介紹了
Codeforces Testing Round #10 A. Forgotten Episode
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
水題,注意數據范圍
#include <iostream> using namespace std;int main(){long long n,a;cin >> n;long long sum =(n*(n+1))>>1;for(int i = 0 ; i < n-1 ; ++i){cin >>a;sum -=a;}cout<<sum<<endl; }?
轉載于:https://www.cnblogs.com/xiongqiangcs/p/3778919.html
總結
以上是生活随笔為你收集整理的Codeforces Testing Round #10 A. Forgotten Episode的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: IEC 60335 全系列- 家用和类似
- 下一篇: nginx工作原理: