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_14723498_6269\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>//不能连续复合运算,要保存结果
^
0_0_14723498_6269\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>//不能连续复合运算,要保存结果
        ^
0_0_14723498_6269\Main.java:2: 错误: 非法字符: '#'
#include<cstdlib>//所以一个技巧就是用strcpy来代替等号
^
0_0_14723498_6269\Main.java:3: 错误: 非法字符: '#'
#include<cstring>//c=a+b改写为strcpy(c,BigAdd(a,b))
^
0_0_14723498_6269\Main.java:4: 错误: 非法字符: '#'
#include <cmath>
^
0_0_14723498_6269\Main.java:5: 错误: 非法字符: '#'
#include <iostream>
^
0_0_14723498_6269\Main.java:6: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_14723498_6269\Main.java:8: 错误: 需要class, interface或enum
int la,lb,count;
^
0_0_14723498_6269\Main.java:10: 错误: 需要class, interface或enum
bool comp()
^
0_0_14723498_6269\Main.java:13: 错误: 需要class, interface或enum
    if((la)>(lb))return true;
    ^
0_0_14723498_6269\Main.java:14: 错误: 需要class, interface或enum
    else if((la)<(lb))return false;
    ^
0_0_14723498_6269\Main.java:15: 错误: 需要class, interface或enum
    else
    ^
0_0_14723498_6269\Main.java:17: 错误: 需要class, interface或enum
        for(i=la-1;i>=0;i--)
                   ^
0_0_14723498_6269\Main.java:17: 错误: 需要class, interface或enum
        for(i=la-1;i>=0;i--)
                        ^
0_0_14723498_6269\Main.java:22: 错误: 需要class, interface或enum
                else return false;
                ^
0_0_14723498_6269\Main.java:23: 错误: 需要class, interface或enum
            }
            ^
0_0_14723498_6269\Main.java:31: 错误: 需要class, interface或enum
    for(i=0;i<la;i++)
    ^
0_0_14723498_6269\Main.java:31: 错误: 需要class, interface或enum
    for(i=0;i<la;i++)
            ^
0_0_14723498_6269\Main.java:31: 错误: 需要class, interface或enum
    for(i=0;i<la;i++)
                 ^
0_0_14723498_6269\Main.java:35: 错误: 需要class, interface或enum
            if(a[i]=='1'){a[i]='0'; up=0;}
                                    ^
0_0_14723498_6269\Main.java:35: 错误: 需要class, interface或enum
            if(a[i]=='1'){a[i]='0'; up=0;}
                                         ^
0_0_14723498_6269\Main.java:36: 错误: 需要class, interface或enum
            else {a[i]='1';up=1;}
                           ^
0_0_14723498_6269\Main.java:36: 错误: 需要class, interface或enum
            else {a[i]='1';up=1;}
                                ^
0_0_14723498_6269\Main.java:40: 错误: 需要class, interface或enum
        else if(a[i]=='1')a[i]='1';
        ^
0_0_14723498_6269\Main.java:41: 错误: 需要class, interface或enum
        else
        ^
0_0_14723498_6269\Main.java:44: 错误: 需要class, interface或enum
            a[i]='1';
            ^
0_0_14723498_6269\Main.java:45: 错误: 需要class, interface或enum
        }
        ^
0_0_14723498_6269\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_14723498_6269\Main.java:52: 错误: 需要class, interface或enum
    if(t==a)l=--la;
    ^
0_0_14723498_6269\Main.java:53: 错误: 需要class, interface或enum
    else l=--lb;
    ^
0_0_14723498_6269\Main.java:54: 错误: 需要class, interface或enum
    for(i=0;i<l;i++)
    ^
0_0_14723498_6269\Main.java:54: 错误: 需要class, interface或enum
    for(i=0;i<l;i++)
            ^
0_0_14723498_6269\Main.java:54: 错误: 需要class, interface或enum
    for(i=0;i<l;i++)
                ^
0_0_14723498_6269\Main.java:57: 错误: 需要class, interface或enum
    }
    ^
0_0_14723498_6269\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_14723498_6269\Main.java:65: 错误: 需要class, interface或enum
    char temp[1005];
    ^
0_0_14723498_6269\Main.java:66: 错误: 需要class, interface或enum
    while(la&&lb)
    ^
0_0_14723498_6269\Main.java:70: 错误: 需要class, interface或enum
            strcpy(temp,a);strcpy(a,b);strcpy(b,temp);
                           ^
0_0_14723498_6269\Main.java:70: 错误: 需要class, interface或enum
            strcpy(temp,a);strcpy(a,b);strcpy(b,temp);
                                       ^
0_0_14723498_6269\Main.java:71: 错误: 需要class, interface或enum
            tmp=la;la=lb;lb=tmp;
            ^
0_0_14723498_6269\Main.java:71: 错误: 需要class, interface或enum
            tmp=la;la=lb;lb=tmp;
                   ^
0_0_14723498_6269\Main.java:71: 错误: 需要class, interface或enum
            tmp=la;la=lb;lb=tmp;
                         ^
0_0_14723498_6269\Main.java:72: 错误: 需要class, interface或enum
        }
        ^
0_0_14723498_6269\Main.java:76: 错误: 需要class, interface或enum
            div2(a);div2(b);//????????
            ^
0_0_14723498_6269\Main.java:76: 错误: 需要class, interface或enum
            div2(a);div2(b);//????????
                    ^
0_0_14723498_6269\Main.java:77: 错误: 需要class, interface或enum
        }
        ^
0_0_14723498_6269\Main.java:81: 错误: 需要class, interface或enum
        }
        ^
0_0_14723498_6269\Main.java:85: 错误: 需要class, interface或enum
        }
        ^
0_0_14723498_6269\Main.java:89: 错误: 需要class, interface或enum
        }
        ^
0_0_14723498_6269\Main.java:92: 错误: 需要class, interface或enum
    for(i=la-1;i>=0;i--)printf("%c",a[i]);
               ^
0_0_14723498_6269\Main.java:92: 错误: 需要class, interface或enum
    for(i=la-1;i>=0;i--)printf("%c",a[i]);
                    ^
0_0_14723498_6269\Main.java:93: 错误: 需要class, interface或enum
    else
    ^
0_0_14723498_6269\Main.java:94: 错误: 需要class, interface或enum
    for(i=lb-1;i>=0;i--)printf("%c",b[i]);
               ^
0_0_14723498_6269\Main.java:94: 错误: 需要class, interface或enum
    for(i=lb-1;i>=0;i--)printf("%c",b[i]);
                    ^
0_0_14723498_6269\Main.java:95: 错误: 需要class, interface或enum
    while(count--)printf("0");
    ^
0_0_14723498_6269\Main.java:96: 错误: 需要class, interface或enum
    printf("\n");
    ^
0_0_14723498_6269\Main.java:97: 错误: 需要class, interface或enum
}
^
0_0_14723498_6269\Main.java:103: 错误: 需要class, interface或enum
    char ta[1005],tb[1005];
    ^
0_0_14723498_6269\Main.java:104: 错误: 需要class, interface或enum
    scanf("%d",&num);
    ^
0_0_14723498_6269\Main.java:105: 错误: 需要class, interface或enum
    while(num--)
    ^
0_0_14723498_6269\Main.java:108: 错误: 需要class, interface或enum
        memset(b,'0',sizeof(b));
        ^
0_0_14723498_6269\Main.java:109: 错误: 需要class, interface或enum
        count=la=lb=0;
        ^
0_0_14723498_6269\Main.java:110: 错误: 需要class, interface或enum
        scanf("%s %s",ta,tb);
        ^
0_0_14723498_6269\Main.java:111: 错误: 需要class, interface或enum
        lta=strlen(ta);
        ^
0_0_14723498_6269\Main.java:112: 错误: 需要class, interface或enum
        ltb=strlen(tb);
        ^
0_0_14723498_6269\Main.java:113: 错误: 需要class, interface或enum
        for(i=lta-1;i>=0;i--)
        ^
0_0_14723498_6269\Main.java:113: 错误: 需要class, interface或enum
        for(i=lta-1;i>=0;i--)
                    ^
0_0_14723498_6269\Main.java:113: 错误: 需要class, interface或enum
        for(i=lta-1;i>=0;i--)
                         ^
0_0_14723498_6269\Main.java:115: 错误: 需要class, interface或enum
        for(i=ltb-1;i>=0;i--)
        ^
0_0_14723498_6269\Main.java:115: 错误: 需要class, interface或enum
        for(i=ltb-1;i>=0;i--)
                    ^
0_0_14723498_6269\Main.java:115: 错误: 需要class, interface或enum
        for(i=ltb-1;i>=0;i--)
                         ^
0_0_14723498_6269\Main.java:118: 错误: 需要class, interface或enum
        gcd();
        ^
0_0_14723498_6269\Main.java:119: 错误: 需要class, interface或enum
    }
    ^
0_0_14723498_6269\Main.java:122: 错误: 需要class, interface或enum
}
^
74 个错误


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 01:14:58, Gzip enabled