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_35635210_29778.cpp: In function 'int main()':
0_0_35635210_29778.cpp:8:9: error: expected initializer before 'max'
 int min max=1,num=1;
         ^
0_0_35635210_29778.cpp:10:3: error: 'num' was not declared in this scope
   num*=2;
   ^
0_0_35635210_29778.cpp:13:6: error: 'num' was not declared in this scope
  min=num;
      ^
0_0_35635210_29778.cpp:14:12: error: cannot resolve overloaded function 'min' based on conversion to type 'int'
  for(int i=min;i<=max;i++){
            ^
0_0_35635210_29778.cpp:14:19: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<='
  for(int i=min;i<=max;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-11-17 07:42:35, Gzip enabled