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_33529560_24472.cpp:1:3: error: stray '#' in program
 12#include<bits/stdc++.h>
   ^
0_0_33529560_24472.cpp:1:1: error: expected unqualified-id before numeric constant
 12#include<bits/stdc++.h>
 ^
0_0_33529560_24472.cpp: In function 'int main()':
0_0_33529560_24472.cpp:9:18: error: 'scanf' was not declared in this scope
     scanf("%d",&t);
                  ^
0_0_33529560_24472.cpp:17:18: error: 'max' was not declared in this scope
       ma=max(ma,x);
                  ^
0_0_33529560_24472.cpp:18:18: error: 'min' was not declared in this scope
       mi=min(mi,x);
                  ^
0_0_33529560_24472.cpp:24:4: error: 'vector' was not declared in this scope
    vector<int>pr(num);
    ^
0_0_33529560_24472.cpp:24:11: error: expected primary-expression before 'int'
    vector<int>pr(num);
           ^
0_0_33529560_24472.cpp:33:6: error: 'pr' was not declared in this scope
      pr[k]=pr[k]*10+a[k*bas+j]-'0';
      ^
0_0_33529560_24472.cpp:34:21: error: 'max' was not declared in this scope
      ma=max(ma,pr[k]);
                     ^
0_0_33529560_24472.cpp:35:21: error: 'min' was not declared in this scope
      mi=min(mi,pr[k]);
                     ^
0_0_33529560_24472.cpp:43:6: error: 'pr' was not declared in this scope
      pr[k]-=mi;
      ^
0_0_33529560_24472.cpp:46:25: error: 'min' was not declared in this scope
    if(fl) ans=min(ans,tp);
                         ^
0_0_33529560_24472.cpp:49:11: error: expected primary-expression before 'int'
    vector<int>pu(num);
           ^
0_0_33529560_24472.cpp:57:6: error: 'pu' was not declared in this scope
      pu[k]=pu[k]*10+a[k*bas+j]-'0';
      ^
0_0_33529560_24472.cpp:58:21: error: 'max' was not declared in this scope
      ma=max(ma,pu[k]);
                     ^
0_0_33529560_24472.cpp:59:21: error: 'min' was not declared in this scope
      mi=min(mi,pu[k]);
                     ^
0_0_33529560_24472.cpp:67:6: error: 'pu' was not declared in this scope
      pu[k]-=mi;
      ^
0_0_33529560_24472.cpp:70:25: error: 'min' was not declared in this scope
    if(fl) ans=min(ans,tp);
                         ^
0_0_33529560_24472.cpp:79:18: error: 'max' was not declared in this scope
      mu=max(tp,mu);
                  ^
0_0_33529560_24472.cpp:86:23: error: 'max' was not declared in this scope
   if(has) mu=max(mu,tp);
                       ^
0_0_33529560_24472.cpp:104:31: error: 'min' was not declared in this scope
      m9=min(m9,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:131:31: error: 'max' was not declared in this scope
      m1=max(m1,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:137:31: error: 'max' was not declared in this scope
      m1=max(m1,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:165:31: error: 'min' was not declared in this scope
      m9=min(m9,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:172:31: error: 'min' was not declared in this scope
      m9=min(m9,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:184:34: error: 'min' was not declared in this scope
   if(fla==0) ans=min(ans,10+m1-m9);
                                  ^
0_0_33529560_24472.cpp:202:31: error: 'min' was not declared in this scope
      m9=min(m9,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:229:31: error: 'max' was not declared in this scope
      m1=max(m1,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:235:31: error: 'max' was not declared in this scope
      m1=max(m1,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:263:31: error: 'min' was not declared in this scope
      m9=min(m9,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:270:31: error: 'min' was not declared in this scope
      m9=min(m9,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:282:34: error: 'min' was not declared in this scope
   if(fla==0) ans=min(ans,10+m1-m9);
                                  ^
0_0_33529560_24472.cpp:300:31: error: 'min' was not declared in this scope
      m9=min(m9,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:327:31: error: 'max' was not declared in this scope
      m1=max(m1,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:333:31: error: 'max' was not declared in this scope
      m1=max(m1,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:361:31: error: 'min' was not declared in this scope
      m9=min(m9,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:368:31: error: 'min' was not declared in this scope
      m9=min(m9,(int)(a[i]-'0'));
                               ^
0_0_33529560_24472.cpp:380:34: error: 'min' was not declared in this scope
   if(fla==0) ans=min(ans,10+m1-m9);
                                  ^
0_0_33529560_24472.cpp:381:20: error: 'printf' was not declared in this scope
   printf("%d\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-12-02 15:36:51, Gzip enabled