F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_13803648_8536.cpp:1:541: fatal error: GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/iostream>usin: Invalid argument
 #include<iostream>using namespace std;int main(){ int total,a,b,c; while(scanf("%d%d%d%d",&total,&a,&b,&c),total||a||b||c){  double now=9*a+4*b+4*c;  if(now==total){   printf("yes\n");  }else if(now>total){   double temp=now-total;   double f=0;   if(a>0){    f+=0.5*9;   }   if(b>0){    f+=0.5*4;   }   if(c>0){    f+=0.5*4;   }   if(f>temp){    printf("yes\n");   }else{    printf("no\n");   }  }else{   double temp=total-now;   double f=0.5*9+0.5*4+0.5*4;   if(f>temp){    printf("yes\n");   }else{    printf("no\n");   }  } } return 0;}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
compilation terminated.


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 17:07:35, Gzip enabled