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_17012074_23722.cpp:4:2: error: stray '#' in program
     int n,i,sgin,x,sign;
  ^
0_0_17012074_23722.cpp:4:8: error: stray '#' in program
     int n,i,sgin,x,sign;
        ^
0_0_17012074_23722.cpp:4:14: error: stray '#' in program
     int n,i,sgin,x,sign;
              ^
0_0_17012074_23722.cpp:4:20: error: stray '#' in program
     int n,i,sgin,x,sign;
                    ^
0_0_17012074_23722.cpp:5:2: error: stray '#' in program
     double sum,term;
  ^
0_0_17012074_23722.cpp:5:8: error: stray '#' in program
     double sum,term;
        ^
0_0_17012074_23722.cpp:5:14: error: stray '#' in program
     double sum,term;
              ^
0_0_17012074_23722.cpp:5:20: error: stray '#' in program
     double sum,term;
                    ^
0_0_17012074_23722.cpp:6:2: error: stray '#' in program
     scanf("%d",&n);
  ^
0_0_17012074_23722.cpp:6:8: error: stray '#' in program
     scanf("%d",&n);
        ^
0_0_17012074_23722.cpp:6:14: error: stray '#' in program
     scanf("%d",&n);
              ^
0_0_17012074_23722.cpp:6:20: error: stray '#' in program
     scanf("%d",&n);
                    ^
0_0_17012074_23722.cpp:7:2: error: stray '#' in program
     while(n--)
  ^
0_0_17012074_23722.cpp:7:8: error: stray '#' in program
     while(n--)
        ^
0_0_17012074_23722.cpp:7:14: error: stray '#' in program
     while(n--)
              ^
0_0_17012074_23722.cpp:7:20: error: stray '#' in program
     while(n--)
                    ^
0_0_17012074_23722.cpp:8:2: error: stray '#' in program
     {
  ^
0_0_17012074_23722.cpp:8:8: error: stray '#' in program
     {
        ^
0_0_17012074_23722.cpp:8:14: error: stray '#' in program
     {
              ^
0_0_17012074_23722.cpp:8:20: error: stray '#' in program
     {
                    ^
0_0_17012074_23722.cpp:9:2: error: stray '#' in program
         sign=1;term=0;sum=0;
  ^
0_0_17012074_23722.cpp:9:8: error: stray '#' in program
         sign=1;term=0;sum=0;
        ^
0_0_17012074_23722.cpp:9:14: error: stray '#' in program
         sign=1;term=0;sum=0;
              ^
0_0_17012074_23722.cpp:9:20: error: stray '#' in program
         sign=1;term=0;sum=0;
                    ^
0_0_17012074_23722.cpp:9:26: error: stray '#' in program
         sign=1;term=0;sum=0;
                          ^
0_0_17012074_23722.cpp:9:32: error: stray '#' in program
         sign=1;term=0;sum=0;
                                ^
0_0_17012074_23722.cpp:9:38: error: stray '#' in program
         sign=1;term=0;sum=0;
                                      ^
0_0_17012074_23722.cpp:9:44: error: stray '#' in program
         sign=1;term=0;sum=0;
                                            ^
0_0_17012074_23722.cpp:10:2: error: stray '#' in program
         scanf("%d",&x);
  ^
0_0_17012074_23722.cpp:10:8: error: stray '#' in program
         scanf("%d",&x);
        ^
0_0_17012074_23722.cpp:10:14: error: stray '#' in program
         scanf("%d",&x);
              ^
0_0_17012074_23722.cpp:10:20: error: stray '#' in program
         scanf("%d",&x);
                    ^
0_0_17012074_23722.cpp:10:26: error: stray '#' in program
         scanf("%d",&x);
                          ^
0_0_17012074_23722.cpp:10:32: error: stray '#' in program
         scanf("%d",&x);
                                ^
0_0_17012074_23722.cpp:10:38: error: stray '#' in program
         scanf("%d",&x);
                                      ^
0_0_17012074_23722.cpp:10:44: error: stray '#' in program
         scanf("%d",&x);
                                            ^
0_0_17012074_23722.cpp:11:2: error: stray '#' in program
         for(i=1;i<=x;i++)
  ^
0_0_17012074_23722.cpp:11:8: error: stray '#' in program
         for(i=1;i<=x;i++)
        ^
0_0_17012074_23722.cpp:11:14: error: stray '#' in program
         for(i=1;i<=x;i++)
              ^
0_0_17012074_23722.cpp:11:20: error: stray '#' in program
         for(i=1;i<=x;i++)
                    ^
0_0_17012074_23722.cpp:11:26: error: stray '#' in program
         for(i=1;i<=x;i++)
                          ^
0_0_17012074_23722.cpp:11:32: error: stray '#' in program
         for(i=1;i<=x;i++)
                                ^
0_0_17012074_23722.cpp:11:38: error: stray '#' in program
         for(i=1;i<=x;i++)
                                      ^
0_0_17012074_23722.cpp:11:44: error: stray '#' in program
         for(i=1;i<=x;i++)
                                            ^
0_0_17012074_23722.cpp:12:2: error: stray '#' in program
         {
  ^
0_0_17012074_23722.cpp:12:8: error: stray '#' in program
         {
        ^
0_0_17012074_23722.cpp:12:14: error: stray '#' in program
         {
              ^
0_0_17012074_23722.cpp:12:20: error: stray '#' in program
         {
                    ^
0_0_17012074_23722.cpp:12:26: error: stray '#' in program
         {
                          ^
0_0_17012074_23722.cpp:12:32: error: stray '#' in program
         {
                                ^
0_0_17012074_23722.cpp:12:38: error: stray '#' in program
         {
                                      ^
0_0_17012074_23722.cpp:12:44: error: stray '#' in program
         {
                                            ^
0_0_17012074_23722.cpp:13:2: error: stray '#' in program
             term=sign*1.0/i;
  ^
0_0_17012074_23722.cpp:13:8: error: stray '#' in program
             term=sign*1.0/i;
        ^
0_0_17012074_23722.cpp:13:14: error: stray '#' in program
             term=sign*1.0/i;
              ^
0_0_17012074_23722.cpp:13:20: error: stray '#' in program
             term=sign*1.0/i;
                    ^
0_0_17012074_23722.cpp:13:26: error: stray '#' in program
             term=sign*1.0/i;
                          ^
0_0_17012074_23722.cpp:13:32: error: stray '#' in program
             term=sign*1.0/i;
                                ^
0_0_17012074_23722.cpp:13:38: error: stray '#' in program
             term=sign*1.0/i;
                                      ^
0_0_17012074_23722.cpp:13:44: error: stray '#' in program
             term=sign*1.0/i;
                                            ^
0_0_17012074_23722.cpp:13:50: error: stray '#' in program
             term=sign*1.0/i;
                                                  ^
0_0_17012074_23722.cpp:13:56: error: stray '#' in program
             term=sign*1.0/i;
                                                        ^
0_0_17012074_23722.cpp:13:62: error: stray '#' in program
             term=sign*1.0/i;
                                                              ^
0_0_17012074_23722.cpp:13:68: error: stray '#' in program
             term=sign*1.0/i;
                                                                    ^
0_0_17012074_23722.cpp:14:2: error: stray '#' in program
             sum=sum+term;
  ^
0_0_17012074_23722.cpp:14:8: error: stray '#' in program
             sum=sum+term;
        ^
0_0_17012074_23722.cpp:14:14: error: stray '#' in program
             sum=sum+term;
              ^


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 06:40:11, Gzip enabled