Submission #3785750


Source Code Expand

#include<bits/stdc++> 
using namespace std;
int main( )
{
	int a,b[100];
    cin>>a;
    for(int i=0;i<a;i++)
	cin>>b[i];
    sort(b,b+a);
    for(int i=a-2;i>=0;i--)
	{
        if(b[i]!=b[i+1])
		{
            cout<<b[i]<<endl;
            return 0;
        }
    }
}

Submission Info

Submission Time
Task B - 心配性な富豪、ファミリーレストランに行く。
User luogu_bot2
Language C++ (GCC 5.4.1)
Score 0
Code Size 268 Byte
Status CE

Compile Error

./Main.cpp:1:23: fatal error: bits/stdc++: No such file or directory
compilation terminated.