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_32866651_23172.cpp:9:1: error: stray '\302' in program
     int ans = 0 ;
 ^
0_0_32866651_23172.cpp:9:1: error: stray '\240' in program
0_0_32866651_23172.cpp:9:1: error: stray '\302' in program
0_0_32866651_23172.cpp:9:1: error: stray '\240' in program
0_0_32866651_23172.cpp:10:1: error: stray '\302' in program
     while(x ){
 ^
0_0_32866651_23172.cpp:10:1: error: stray '\240' in program
0_0_32866651_23172.cpp:10:1: error: stray '\302' in program
0_0_32866651_23172.cpp:10:1: error: stray '\240' in program
0_0_32866651_23172.cpp:11:1: error: stray '\302' in program
         ans += c[x];
 ^
0_0_32866651_23172.cpp:11:1: error: stray '\240' in program
0_0_32866651_23172.cpp:11:1: error: stray '\302' in program
0_0_32866651_23172.cpp:11:1: error: stray '\240' in program
0_0_32866651_23172.cpp:11:1: error: stray '\302' in program
0_0_32866651_23172.cpp:11:1: error: stray '\240' in program
0_0_32866651_23172.cpp:11:1: error: stray '\302' in program
0_0_32866651_23172.cpp:11:1: error: stray '\240' in program
0_0_32866651_23172.cpp:12:1: error: stray '\302' in program
         x-=lowbit(x);
 ^
0_0_32866651_23172.cpp:12:1: error: stray '\240' in program
0_0_32866651_23172.cpp:12:1: error: stray '\302' in program
0_0_32866651_23172.cpp:12:1: error: stray '\240' in program
0_0_32866651_23172.cpp:12:1: error: stray '\302' in program
0_0_32866651_23172.cpp:12:1: error: stray '\240' in program
0_0_32866651_23172.cpp:12:1: error: stray '\302' in program
0_0_32866651_23172.cpp:12:1: error: stray '\240' in program
0_0_32866651_23172.cpp:13:1: error: stray '\302' in program
     }
 ^
0_0_32866651_23172.cpp:13:1: error: stray '\240' in program
0_0_32866651_23172.cpp:13:1: error: stray '\302' in program
0_0_32866651_23172.cpp:13:1: error: stray '\240' in program
0_0_32866651_23172.cpp:14:1: error: stray '\302' in program
     return ans ;
 ^
0_0_32866651_23172.cpp:14:1: error: stray '\240' in program
0_0_32866651_23172.cpp:14:1: error: stray '\302' in program
0_0_32866651_23172.cpp:14:1: error: stray '\240' in program
0_0_32866651_23172.cpp: In function 'void add(int, int)':
0_0_32866651_23172.cpp:2:17: error: 'N' was not declared in this scope
     while( x <= N ){
                 ^
0_0_32866651_23172.cpp:3:9: error: 'c' was not declared in this scope
         c[x] += d;
         ^
0_0_32866651_23172.cpp:4:22: error: 'lowbit' was not declared in this scope
         x += lowbit(x);
                      ^
0_0_32866651_23172.cpp: In function 'int sum(int)':
0_0_32866651_23172.cpp:11:20: error: 'c' was not declared in this scope
         ans += c[x];
                    ^
0_0_32866651_23172.cpp:12:24: error: 'lowbit' was not declared in this scope
         x-=lowbit(x);
                        ^


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-22 15:49:24, Gzip enabled