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_6829461_2192\Main.java:1: illegal character: \35
#include<stdio.h>   
^
0_0_6829461_2192\Main.java:2: illegal character: \35
#include<string.h>   
^
0_0_6829461_2192\Main.java:6: class, interface, or enum expected
    char a[200];   
    ^
0_0_6829461_2192\Main.java:7: class, interface, or enum expected
    while(scanf("%d%d",&m1,&m2)!=EOF)   
    ^
0_0_6829461_2192\Main.java:9: class, interface, or enum expected
        r1=0;r2=0;r3=0;   
             ^
0_0_6829461_2192\Main.java:9: class, interface, or enum expected
        r1=0;r2=0;r3=0;   
                  ^
0_0_6829461_2192\Main.java:10: class, interface, or enum expected
        scanf("%s",a);   
        ^
0_0_6829461_2192\Main.java:11: class, interface, or enum expected
        for(int i=0;i<strlen(a);i++)   
        ^
0_0_6829461_2192\Main.java:11: class, interface, or enum expected
        for(int i=0;i<strlen(a);i++)   
                    ^
0_0_6829461_2192\Main.java:11: class, interface, or enum expected
        for(int i=0;i<strlen(a);i++)   
                                ^
0_0_6829461_2192\Main.java:15: class, interface, or enum expected
            case 'A':r1=m1;break;   
                           ^
0_0_6829461_2192\Main.java:16: class, interface, or enum expected
            case 'B':r2=m2;break;   
            ^
0_0_6829461_2192\Main.java:16: class, interface, or enum expected
            case 'B':r2=m2;break;   
                           ^
0_0_6829461_2192\Main.java:17: class, interface, or enum expected
            case 'C':m1=r3;break;   
            ^
0_0_6829461_2192\Main.java:17: class, interface, or enum expected
            case 'C':m1=r3;break;   
                           ^
0_0_6829461_2192\Main.java:18: class, interface, or enum expected
            case 'D':m2=r3;break;   
            ^
0_0_6829461_2192\Main.java:18: class, interface, or enum expected
            case 'D':m2=r3;break;   
                           ^
0_0_6829461_2192\Main.java:19: class, interface, or enum expected
            case 'E':r3=r2+r1;break;   
            ^
0_0_6829461_2192\Main.java:19: class, interface, or enum expected
            case 'E':r3=r2+r1;break;   
                              ^
0_0_6829461_2192\Main.java:20: class, interface, or enum expected
            case 'F':r3=r1-r2;break;   
            ^
0_0_6829461_2192\Main.java:20: class, interface, or enum expected
            case 'F':r3=r1-r2;break;   
                              ^
0_0_6829461_2192\Main.java:21: class, interface, or enum expected
            default:break;   
            ^
0_0_6829461_2192\Main.java:22: class, interface, or enum expected
           }   
           ^
0_0_6829461_2192\Main.java:25: class, interface, or enum expected
    }   
    ^
0_0_6829461_2192\Main.java:27: 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-11-26 05:32:11, Gzip enabled