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_29757146_30185\Main.java:2: 错误: 非法字符: '#'
#include <iostream>
^
0_0_29757146_30185\Main.java:2: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_29757146_30185\Main.java:4: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_29757146_30185\Main.java:8: 错误: 需要class, interface或enum
int gcd(int a,int b)
^
0_0_29757146_30185\Main.java:14: 错误: 需要class, interface或enum
    return gcd(b,a%b);
    ^
0_0_29757146_30185\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_29757146_30185\Main.java:26: 错误: 需要class, interface或enum
    else
    ^
0_0_29757146_30185\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_29757146_30185\Main.java:36: 错误: 需要class, interface或enum
int main()
^
0_0_29757146_30185\Main.java:42: 错误: 需要class, interface或enum
   scanf("%d",&T);
   ^
0_0_29757146_30185\Main.java:44: 错误: 需要class, interface或enum
   while(T--)
   ^
0_0_29757146_30185\Main.java:50: 错误: 需要class, interface或enum
       int x,y,z;
       ^
0_0_29757146_30185\Main.java:52: 错误: 需要class, interface或enum
       int fx,fy;
       ^
0_0_29757146_30185\Main.java:54: 错误: 需要class, interface或enum
       int a,b;
       ^
0_0_29757146_30185\Main.java:56: 错误: 需要class, interface或enum
       scanf("%d%d%d",&a,&b,&z);
       ^
0_0_29757146_30185\Main.java:58: 错误: 需要class, interface或enum
       int ans=0;
       ^
0_0_29757146_30185\Main.java:60: 错误: 需要class, interface或enum
       for(x=1;x<=12;x++)
       ^
0_0_29757146_30185\Main.java:60: 错误: 需要class, interface或enum
       for(x=1;x<=12;x++)
               ^
0_0_29757146_30185\Main.java:60: 错误: 需要class, interface或enum
       for(x=1;x<=12;x++)
                     ^
0_0_29757146_30185\Main.java:64: 错误: 需要class, interface或enum
           for(y=1;y<=month[x];y++)
                   ^
0_0_29757146_30185\Main.java:64: 错误: 需要class, interface或enum
           for(y=1;y<=month[x];y++)
                               ^
0_0_29757146_30185\Main.java:70: 错误: 需要class, interface或enum
               if(a==g&&(b==(x*y)/g))
               ^
0_0_29757146_30185\Main.java:76: 错误: 需要class, interface或enum
                   ans++;
                   ^
0_0_29757146_30185\Main.java:78: 错误: 需要class, interface或enum
                   fx=x;fy=y;
                   ^
0_0_29757146_30185\Main.java:78: 错误: 需要class, interface或enum
                   fx=x;fy=y;
                        ^
0_0_29757146_30185\Main.java:80: 错误: 需要class, interface或enum
               }
               ^
0_0_29757146_30185\Main.java:88: 错误: 需要class, interface或enum
       else if(ans==1)  printf("Case #%d: %04d/%02d/%02d\n",num,z,fx,fy);//格式很重要,否则容易出错
       ^
0_0_29757146_30185\Main.java:90: 错误: 需要class, interface或enum
       else
       ^
0_0_29757146_30185\Main.java:96: 错误: 需要class, interface或enum
   }
   ^
0_0_29757146_30185\Main.java:100: 错误: 需要class, interface或enum
}
^
30 个错误


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-30 07:09:12, Gzip enabled