結果
問題 |
No.481 1から10
|
ユーザー |
![]() |
提出日時 | 2017-02-10 22:26:26 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 344 bytes |
コンパイル時間 | 2,294 ms |
コンパイル使用メモリ | 157,656 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-28 05:53:14 |
合計ジャッジ時間 | 1,927 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 WA * 1 |
ソースコード
#include "bits/stdc++.h" using namespace std; const char en = '\n'; using ll = long long; using ull = unsigned long long; using B = bitset<10>; int main(){ ios::sync_with_stdio(false);cin.tie(); int j; B b; for(int i=0;i<9;i++){ cin>>j; b.set(j-1); } for(int i=0;i<9;i++){ if(!b[i]) cout<<i+1<<en; } return 0; }