結果
問題 |
No.481 1から10
|
ユーザー |
|
提出日時 | 2020-10-01 01:08:46 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 232 bytes |
コンパイル時間 | 2,679 ms |
コンパイル使用メモリ | 190,896 KB |
最終ジャッジ日時 | 2025-01-14 23:42:50 |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ const int n = 10; int tot = n * (n+1) / 2; for(int i = 0; i < n-1; i++){ int a; cin >> a; tot -= a; } cout << tot << endl; return 0; }