hihoCoder Challenge 14 register

Ended

Participants:709

Verdict:Accepted
Submitted:2015-08-30 19:40:54

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
#pragma comment(linker, "/STACK:1024000000,1024000000")
#include<stdio.h>
#include<string.h>
#include<iostream>
#include<algorithm>
#include<vector>
#include<ctime>
#include<set>
#define LL long long
#define maxn 100010
#define INF 0x3f3f3f3f
using namespace std ;
struct node
{
    char ch[4] ;
    int v ;
}qe[110] ;
bool check(int i,double x)
{
    node a = qe[i] ;
    if(strcmp(a.ch,"<") == 0)
    {
        if( x < a.v) return 1 ;
    }
    else if(strcmp(a.ch,"<=") == 0)
    {
        if( x <= a.v) return 1 ;
    }
    else if(strcmp(a.ch,"=") == 0)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX