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_26136126_1037.cpp: In function 'int main()':
0_0_26136126_1037.cpp:11:18: error: expected primary-expression before '%' token
     while( scanf(%d, &n) != EOF ) {
                  ^
0_0_26136126_1037.cpp:11:19: error: 'd' was not declared in this scope
     while( scanf(%d, &n) != EOF ) {
                   ^
0_0_26136126_1037.cpp:13:19: error: expected primary-expression before '%' token
             scanf(%d, &a[i]) ;
                   ^
0_0_26136126_1037.cpp:18:52: error: 'max' was not declared in this scope
                 if( Map[j] ) l[i] = max(l[i],Map[j]) ;
                                                    ^
0_0_26136126_1037.cpp:19:62: error: 'max' was not declared in this scope
                 if( Map[a[i]/j] ) l[i] = max(l[i],Map[a[i]/j]) ;
                                                              ^
0_0_26136126_1037.cpp:27:52: error: 'min' was not declared in this scope
                 if( Map[j] ) r[i] = min(r[i],Map[j]) ;
                                                    ^
0_0_26136126_1037.cpp:28:62: error: 'min' was not declared in this scope
                 if( Map[a[i]/j] ) r[i] = min(r[i],Map[a[i]/j]) ;
                                                              ^
0_0_26136126_1037.cpp:35:16: error: expected primary-expression before '%' token
         printf(%I64d, ans) ;
                ^
0_0_26136126_1037.cpp:35:17: error: 'I64d' was not declared in this scope
         printf(%I64d, 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-17 11:45:58, Gzip enabled