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_31247606_41.cpp: In function 'int main()':
0_0_31247606_41.cpp:12:25: error: 'stdin' was not declared in this scope
     freopen("i.txt","r",stdin);
                         ^
0_0_31247606_41.cpp:12:30: error: 'freopen' was not declared in this scope
     freopen("i.txt","r",stdin);
                              ^
0_0_31247606_41.cpp:14:18: error: 'scanf' was not declared in this scope
     scanf("%d",&T);
                  ^
0_0_31247606_41.cpp:17:30: error: 'memset' was not declared in this scope
         memset(dp,0,sizeof dp);
                              ^
0_0_31247606_41.cpp:25:40: error: 'min' was not declared in this scope
                     dp[i+1][min(q+3,200)]+=dp[i][q]*(1-f(p));
                                        ^
0_0_31247606_41.cpp:29:26: error: 'printf' was not declared in this scope
         printf("%f\n",ans);
                          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 23:06:03, Gzip enabled