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_23417678_20329.cpp: In function 'double Solve(char, char)':
0_0_23417678_20329.cpp:126:29: error: expected ')' before '}' token
 memset( x , 0 , sizeof( f ) };
                             ^
0_0_23417678_20329.cpp: At global scope:
0_0_23417678_20329.cpp:127:1: error: 'x' does not name a type
 x[0] = 1;
 ^
0_0_23417678_20329.cpp:129:1: error: expected unqualified-id before 'for'
 for(int i = 0 ; i < M ; ++ i){
 ^
0_0_23417678_20329.cpp:129:17: error: 'i' does not name a type
 for(int i = 0 ; i < M ; ++ i){
                 ^
0_0_23417678_20329.cpp:129:25: error: expected unqualified-id before '++' token
 for(int i = 0 ; i < M ; ++ i){
                         ^


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-12-02 03:57:37, Gzip enabled