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_5028556_123\Main.java:1: 非法字符: \35
#include<stdio.h>
^
0_0_5028556_123\Main.java:2: 非法字符: \35
#include<stdlib.h>
^
0_0_5028556_123\Main.java:6: 需要为 class、interface 或 enum
   double sum=0,j=1.0,s=1.0;
   ^
0_0_5028556_123\Main.java:7: 需要为 class、interface 或 enum
    scanf("%d",&n);
    ^
0_0_5028556_123\Main.java:8: 需要为 class、interface 或 enum
    for(i=0;i<n;i++)
    ^
0_0_5028556_123\Main.java:8: 需要为 class、interface 或 enum
    for(i=0;i<n;i++)
            ^
0_0_5028556_123\Main.java:8: 需要为 class、interface 或 enum
    for(i=0;i<n;i++)
                ^
0_0_5028556_123\Main.java:11: 需要为 class、interface 或 enum
    }
    ^
0_0_5028556_123\Main.java:13: 需要为 class、interface 或 enum
  for(i=0;i<n;i++)
          ^
0_0_5028556_123\Main.java:13: 需要为 class、interface 或 enum
  for(i=0;i<n;i++)
              ^
0_0_5028556_123\Main.java:20: 需要为 class、interface 或 enum
               s=-s;
               ^
0_0_5028556_123\Main.java:21: 需要为 class、interface 或 enum
         j++;
         ^
0_0_5028556_123\Main.java:22: 需要为 class、interface 或 enum
  }
  ^
0_0_5028556_123\Main.java:24: 需要为 class、interface 或 enum
        }
        ^
0_0_5028556_123\Main.java:27: 需要为 class、interface 或 enum
  system ("pause");
  ^
0_0_5028556_123\Main.java:29: 需要为 class、interface 或 enum
                      }      
                      ^
16 错误


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-16 06:04:22, Gzip enabled