hiho week 49 register

Ended

Participants:509

Verdict:Accepted
Score:100 / 100
Submitted:2015-06-06 22:43:37

Lang:G++

Edit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include <iostream>
#include <vector>
#include <algorithm>
#include <math.h>
#include <string>
#include <set>
#include <queue>
#include <iomanip>
#define Max 10005
using namespace std;
int main()
{
    int n,m;
    int d[10005]={0};
    cin>>n>>m;
    for(int i=0;i<m;i++){
        int a,b;
        cin>>a>>b;
        d[a]++;
        d[b]++;
    }
    int odd=0;
    for(int i=0;i<n;i++){
        if(d[i]%2)
            odd++;
    }
    if(odd==0||odd==2)
        cout<<"Full"<<endl;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX