結果

問題 No.481 1から10
ユーザー 曉立花
提出日時 2023-12-04 05:58:19
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 245 bytes
コンパイル時間 580 ms
コンパイル使用メモリ 74,088 KB
最終ジャッジ日時 2025-02-18 07:07:36
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<set>
using namespace std;

int main()
{
	set<int>s;
	for(int i=0;i<9;i++)
	{
		int temp;
		cin>>temp;
		s.insert(temp);
	}
	for(int i=1;i<=9;i++)
	if(s.insert(i).second)
	{
		cout<<i<<endl;
		return 0;
	}
	return 0;
}
0