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_29469952_27552.cpp:3:20: error: expected ',' or ';' before 'e5'
 const int maxn = 1 e5 + 10 ; 
                    ^
0_0_29469952_27552.cpp: In function 'void solve()':
0_0_29469952_27552.cpp:26:42: error: expected primary-expression before ')' token
 for ( int k = i + 1 ; k <= i + 6 ; k + + ) //抛出大于个格子数的点也是合法的,所以骰子每一面的可能性一直都是一样的
                                          ^
0_0_29469952_27552.cpp:27:12: error: expected primary-expression before '=' token
 dp [ i ] + = dp [ k ] / 6.0 ; 
            ^
0_0_29469952_27552.cpp:28:12: error: expected primary-expression before '=' token
 dp [ i ] + = 1.0 ; 
            ^


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-23 00:47:09, Gzip enabled