0_0_19917706_11227.cpp:2:1: error: stray '\263' in program
class D成绩转换 {
^
0_0_19917706_11227.cpp:2:1: error: stray '\311' in program
0_0_19917706_11227.cpp:2:1: error: stray '\274' in program
0_0_19917706_11227.cpp:2:1: error: stray '\250' in program
0_0_19917706_11227.cpp:2:1: error: stray '\327' in program
0_0_19917706_11227.cpp:2:1: error: stray '\252' in program
0_0_19917706_11227.cpp:2:1: error: stray '\273' in program
0_0_19917706_11227.cpp:2:1: error: stray '\273' in program
0_0_19917706_11227.cpp:1:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_19917706_11227.cpp:3:9: error: expected ':' before 'static'
public static void main(String[] args){
^
0_0_19917706_11227.cpp:3:26: error: 'String' has not been declared
public static void main(String[] args){
^
0_0_19917706_11227.cpp:3:35: error: expected ',' or '...' before 'args'
public static void main(String[] args){
^
0_0_19917706_11227.cpp:26:1: error: expected ';' after class definition
}
^
0_0_19917706_11227.cpp: In static member function 'static void D::main(int*)':
0_0_19917706_11227.cpp:4:6: error: expected unqualified-id before '[' token
int[] array = new int[4];
^
0_0_19917706_11227.cpp:5:3: error: 'System' was not declared in this scope
System.out.println("请输入数据");
^
0_0_19917706_11227.cpp:6:3: error: 'Scanner' was not declared in this scope
Scanner in = new Scanner(System.in);
^
0_0_19917706_11227.cpp:8:15: error: 'array' was not declared in this scope
for(i = 0;i<array.length;i++){
^
0_0_19917706_11227.cpp:9:15: error: 'in' was not declared in this scope
array[i] = in.nextInt();
^
0_0_19917706_11227.cpp:11:13: error: 'array' was not declared in this scope
for(i=0;i<array.length;i++){
^
|