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_32027197_2784.cpp:1:1: error: 'include' does not name a type
 include<stdio.h>
 ^
0_0_32027197_2784.cpp: In function 'int init()':
0_0_32027197_2784.cpp:6:2: error: 'array' was not declared in this scope
  array[0]=1;
  ^
0_0_32027197_2784.cpp: At global scope:
0_0_32027197_2784.cpp:18:17: error: '__int64' has not been declared
 int dfs(int num,__int64 n)
                 ^
0_0_32027197_2784.cpp: In function 'int dfs(int, int)':
0_0_32027197_2784.cpp:22:8: error: 'array' was not declared in this scope
   if(n>array[i]*array[num-1-i])
        ^
0_0_32027197_2784.cpp:28:4: error: '__int64' was not declared in this scope
    __int64 x=n%array[num-1-i]==0?n/array[num-1-i]:n/array[num-1-i]+1;
    ^
0_0_32027197_2784.cpp:31:15: error: 'printf' was not declared in this scope
     printf("(");
               ^
0_0_32027197_2784.cpp:32:10: error: 'x' was not declared in this scope
    dfs(i,x);
          ^
0_0_32027197_2784.cpp:35:14: error: 'printf' was not declared in this scope
    printf("X");
              ^
0_0_32027197_2784.cpp:39:35: error: 'x' was not declared in this scope
     dfs(num-1-i,n-array[num-1-i]*(x-1));
                                   ^
0_0_32027197_2784.cpp: In function 'int main()':
0_0_32027197_2784.cpp:50:2: error: '__int64' was not declared in this scope
  __int64 n;
  ^
0_0_32027197_2784.cpp:52:23: error: 'n' was not declared in this scope
  while(scanf("%I64d",&n)!=EOF&&n>0)
                       ^
0_0_32027197_2784.cpp:52:24: error: 'scanf' was not declared in this scope
  while(scanf("%I64d",&n)!=EOF&&n>0)
                        ^
0_0_32027197_2784.cpp:52:27: error: 'EOF' was not declared in this scope
  while(scanf("%I64d",&n)!=EOF&&n>0)
                           ^
0_0_32027197_2784.cpp:54:11: error: expected ';' before 'temp'
   __int64 temp=0;
           ^
0_0_32027197_2784.cpp:58:7: error: 'temp' was not declared in this scope
    if(temp+array[i]>=n)
       ^
0_0_32027197_2784.cpp:58:12: error: 'array' was not declared in this scope
    if(temp+array[i]>=n)
            ^
0_0_32027197_2784.cpp:64:4: error: 'temp' was not declared in this scope
    temp+=array[i];
    ^
0_0_32027197_2784.cpp:64:10: error: 'array' was not declared in this scope
    temp+=array[i];
          ^
0_0_32027197_2784.cpp:67:14: error: 'printf' was not declared in this scope
   printf("\n");
              ^


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-15 17:33:24, Gzip enabled