結果
問題 | No.481 1から10 |
ユーザー |
|
提出日時 | 2018-01-02 00:07:02 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 233 bytes |
コンパイル時間 | 499 ms |
コンパイル使用メモリ | 63,416 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-23 00:01:29 |
合計ジャッジ時間 | 1,213 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
#include <iostream>#define NUM 11using namespace std;int main() {int a[NUM] = {};int input;for (int i=0; i<NUM-1;i++){cin >> input;a[input] = 1;}for (int i=1; i<NUM;i++){if(a[i] == 0) cout << i;}return 0;}