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_37223242_10221\Main.java:6: 错误: 非法字符: '#'
#include <iostream>
^
0_0_37223242_10221\Main.java:6: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_37223242_10221\Main.java:7: 错误: 非法字符: '#'
#include <Cstring>
^
0_0_37223242_10221\Main.java:9: 错误: 非法字符: '#'
#define start_x 300
^
0_0_37223242_10221\Main.java:9: 错误: 需要class, interface或enum
#define start_x 300
        ^
0_0_37223242_10221\Main.java:10: 错误: 非法字符: '#'
#define start_y 420
^
0_0_37223242_10221\Main.java:11: 错误: 非法字符: '#'
#define move 10
^
0_0_37223242_10221\Main.java:15: 错误: 需要class, interface或enum
    int length, i, x, y;
    ^
0_0_37223242_10221\Main.java:16: 错误: 需要class, interface或enum
    char direc;
    ^
0_0_37223242_10221\Main.java:17: 错误: 需要class, interface或enum
    while(cin>>string) {
    ^
0_0_37223242_10221\Main.java:19: 错误: 需要class, interface或enum
        x = start_x + move;
        ^
0_0_37223242_10221\Main.java:20: 错误: 需要class, interface或enum
        y = start_y;
        ^
0_0_37223242_10221\Main.java:21: 错误: 需要class, interface或enum
        length = strlen(string);
        ^
0_0_37223242_10221\Main.java:22: 错误: 需要class, interface或enum
        cout<<start_x<<" "<<start_y<<" "<<"moveto"<<endl;
        ^
0_0_37223242_10221\Main.java:23: 错误: 需要class, interface或enum
        cout<<start_x+move<<" "<<start_y<<" "<<"lineto"<<endl;
        ^
0_0_37223242_10221\Main.java:24: 错误: 需要class, interface或enum
        for(i = 0; i < length; i++) {
        ^
0_0_37223242_10221\Main.java:24: 错误: 需要class, interface或enum
        for(i = 0; i < length; i++) {
                   ^
0_0_37223242_10221\Main.java:24: 错误: 需要class, interface或enum
        for(i = 0; i < length; i++) {
                               ^
0_0_37223242_10221\Main.java:28: 错误: 需要class, interface或enum
                    y += move;
                    ^
0_0_37223242_10221\Main.java:29: 错误: 需要class, interface或enum
                    cout<<x<<" "<<y<<" "<<"lineto"<<endl;
                    ^
0_0_37223242_10221\Main.java:30: 错误: 需要class, interface或enum
                }
                ^
0_0_37223242_10221\Main.java:33: 错误: 需要class, interface或enum
                    y -= move;
                    ^
0_0_37223242_10221\Main.java:34: 错误: 需要class, interface或enum
                    cout<<x<<" "<<y<<" "<<"lineto"<<endl;
                    ^
0_0_37223242_10221\Main.java:35: 错误: 需要class, interface或enum
                }
                ^
0_0_37223242_10221\Main.java:38: 错误: 需要class, interface或enum
                    x -= move;
                    ^
0_0_37223242_10221\Main.java:39: 错误: 需要class, interface或enum
                    cout<<x<<" "<<y<<" "<<"lineto"<<endl;
                    ^
0_0_37223242_10221\Main.java:40: 错误: 需要class, interface或enum
                }
                ^
0_0_37223242_10221\Main.java:43: 错误: 需要class, interface或enum
                    x += move;
                    ^
0_0_37223242_10221\Main.java:44: 错误: 需要class, interface或enum
                    cout<<x<<" "<<y<<" "<<"lineto"<<endl;
                    ^
0_0_37223242_10221\Main.java:45: 错误: 需要class, interface或enum
                }
                ^
0_0_37223242_10221\Main.java:50: 错误: 需要class, interface或enum
                    y -= move;
                    ^
0_0_37223242_10221\Main.java:51: 错误: 需要class, interface或enum
                    cout<<x<<" "<<y<<" "<<"lineto"<<endl;
                    ^
0_0_37223242_10221\Main.java:52: 错误: 需要class, interface或enum
                }
                ^
0_0_37223242_10221\Main.java:55: 错误: 需要class, interface或enum
                    y += move;
                    ^
0_0_37223242_10221\Main.java:56: 错误: 需要class, interface或enum
                    cout<<x<<" "<<y<<" "<<"lineto"<<endl;
                    ^
0_0_37223242_10221\Main.java:57: 错误: 需要class, interface或enum
                }
                ^
0_0_37223242_10221\Main.java:60: 错误: 需要class, interface或enum
                    x += move;
                    ^
0_0_37223242_10221\Main.java:61: 错误: 需要class, interface或enum
                    cout<<x<<" "<<y<<" "<<"lineto"<<endl;
                    ^
0_0_37223242_10221\Main.java:62: 错误: 需要class, interface或enum
                }
                ^
0_0_37223242_10221\Main.java:65: 错误: 需要class, interface或enum
                    x -= move;
                    ^
0_0_37223242_10221\Main.java:66: 错误: 需要class, interface或enum
                    cout<<x<<" "<<y<<" "<<"lineto"<<endl;
                    ^
0_0_37223242_10221\Main.java:67: 错误: 需要class, interface或enum
                }
                ^
0_0_37223242_10221\Main.java:71: 错误: 需要class, interface或enum
    }
    ^
0_0_37223242_10221\Main.java:73: 错误: 需要class, interface或enum
}
^
44 个错误


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:28:41, Gzip enabled