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_32853234_8625.cpp:12:31: error: stray '#' in program
  for(i=2;i<=(long long)sqrt(n+1);i++)
                               ^
0_0_32853234_8625.cpp:12:40: error: stray '#' in program
  for(i=2;i<=(long long)sqrt(n+1);i++)
                                        ^
0_0_32853234_8625.cpp:12:45: error: stray '#' in program
  for(i=2;i<=(long long)sqrt(n+1);i++)
                                             ^
0_0_32853234_8625.cpp:14:32: error: stray '#' in program
      if((n+1)%i==0)
                                ^
0_0_32853234_8625.cpp:15:30: error: stray '#' in program
      sum++;
                              ^
0_0_32853234_8625.cpp:15:35: error: stray '#' in program
      sum++;
                                   ^
0_0_32853234_8625.cpp: In function 'int main()':
0_0_32853234_8625.cpp:5:2: error: 'nbsp' was not declared in this scope
     int t,i;
  ^
0_0_32853234_8625.cpp:12:34: error: expected ')' before ';' token
  for(i=2;i<=(long long)sqrt(n+1);i++)
                                  ^
0_0_32853234_8625.cpp:12:46: error: lvalue required as unary '&' operand
  for(i=2;i<=(long long)sqrt(n+1);i++)
                                              ^
0_0_32853234_8625.cpp:12:49: error: expected primary-expression before ')' token
  for(i=2;i<=(long long)sqrt(n+1);i++)
                                                 ^


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 10:50:16, Gzip enabled