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_5948700_24115\Main.java:1: illegal character: \35
#include<iostream>  
^
0_0_5948700_24115\Main.java:2: illegal character: \35
#include<iomanip>  
^
0_0_5948700_24115\Main.java:4: class, interface, or enum expected
int main()  
^
0_0_5948700_24115\Main.java:7: class, interface, or enum expected
    int n;  
    ^
0_0_5948700_24115\Main.java:8: class, interface, or enum expected
    while(cin>>n)  
    ^
0_0_5948700_24115\Main.java:10: class, interface, or enum expected
    return 0;  
    ^
0_0_5948700_24115\Main.java:11: class, interface, or enum expected
}  
^
0_0_5948700_24115\Main.java:15: class, interface, or enum expected
    int places,carry,i,j;  
    ^
0_0_5948700_24115\Main.java:16: class, interface, or enum expected
    a[0]=1;  
    ^
0_0_5948700_24115\Main.java:17: class, interface, or enum expected
    places=0;   //当前数的总位数  
    ^
0_0_5948700_24115\Main.java:18: class, interface, or enum expected
    for(i=1;i<=n;i++)  
    ^
0_0_5948700_24115\Main.java:18: class, interface, or enum expected
    for(i=1;i<=n;i++)  
            ^
0_0_5948700_24115\Main.java:18: class, interface, or enum expected
    for(i=1;i<=n;i++)  
                 ^
0_0_5948700_24115\Main.java:21: class, interface, or enum expected
        for(j=0;j<=places;j++)  
        ^
0_0_5948700_24115\Main.java:21: class, interface, or enum expected
        for(j=0;j<=places;j++)  
                ^
0_0_5948700_24115\Main.java:21: class, interface, or enum expected
        for(j=0;j<=places;j++)  
                          ^
0_0_5948700_24115\Main.java:24: class, interface, or enum expected
            carry=a[j]/10000;  
            ^
0_0_5948700_24115\Main.java:25: class, interface, or enum expected
            a[j]%=10000;  
            ^
0_0_5948700_24115\Main.java:26: class, interface, or enum expected
        }  
        ^
0_0_5948700_24115\Main.java:31: class, interface, or enum expected
            a[places]=carry;  
            ^
0_0_5948700_24115\Main.java:32: class, interface, or enum expected
        }  
        ^
0_0_5948700_24115\Main.java:41: class, interface, or enum expected
    for(i=places-1;i>=0;i--)  
    ^
0_0_5948700_24115\Main.java:41: class, interface, or enum expected
    for(i=places-1;i>=0;i--)  
                   ^
0_0_5948700_24115\Main.java:41: class, interface, or enum expected
    for(i=places-1;i>=0;i--)  
                        ^
0_0_5948700_24115\Main.java:44: class, interface, or enum expected
    cout<<endl;  
    ^
0_0_5948700_24115\Main.java:45: class, interface, or enum expected
} 


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 23:50:19, Gzip enabled