Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

呃……水题神马的都是浮云,贴代码

Posted by speedcell4 at 2011-02-09 13:39:26 on Problem 3030
#include<stdio.h>
int t,r,e,c;
int main()
{
    scanf("%d",&t);
    while(t--)
    {
        scanf("%d%d%d",&r,&e,&c);
        if(r<(e-c)) printf("advertise\n");
        if(r>(e-c)) printf("do not advertise\n");
        if(r==(e-c))printf("does not matter\n");
    }
}

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator