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_34695704_22639.cpp:4:17: error: too many decimal points in number
         f:array[1..100000] of longint;
                 ^
0_0_34695704_22639.cpp:2:9: error: 'md' does not name a type
         md=1000000007;
         ^
0_0_34695704_22639.cpp:3:1: error: 'var' does not name a type
 var
 ^
0_0_34695704_22639.cpp:5:9: error: 'n' does not name a type
         n,m,l,r,l2,r2,ii,i,j,len:longint;
         ^
0_0_34695704_22639.cpp:7:1: error: 'function' does not name a type
 function qpower(a,t:longint):int64;
 ^
0_0_34695704_22639.cpp:8:1: error: 'begin' does not name a type
 begin
 ^
0_0_34695704_22639.cpp:12:21: error: expected constructor, destructor, or type conversion before '(' token
                 exit(1);
                     ^
0_0_34695704_22639.cpp:13:9: error: 'end' does not name a type
         end;
         ^
0_0_34695704_22639.cpp:15:9: error: 'qpower' does not name a type
         qpower:=qpower(a,t*2);
         ^
0_0_34695704_22639.cpp:16:9: error: 'qpower' does not name a type
         qpower:=qpower*qpower mod md;
         ^
0_0_34695704_22639.cpp:18:9: error: expected unqualified-id before 'if'
         if ii>=t then
         ^
0_0_34695704_22639.cpp:21:17: error: 'ii' does not name a type
                 ii:=ii-t;
                 ^
0_0_34695704_22639.cpp:22:9: error: 'end' does not name a type
         end;
         ^
0_0_34695704_22639.cpp:23:1: error: 'end' does not name a type
 end;
 ^
0_0_34695704_22639.cpp:25:1: error: 'begin' does not name a type
 begin
 ^
0_0_34695704_22639.cpp:26:41: error: expected constructor, destructor, or type conversion before '(' token
         assign(Input,'number.in'); reset(Input);
                                         ^
0_0_34695704_22639.cpp:27:15: error: expected constructor, destructor, or type conversion before '(' token
         assign(Output,'number.out'); rewrite(Output);
               ^
0_0_34695704_22639.cpp:27:45: error: expected constructor, destructor, or type conversion before '(' token
         assign(Output,'number.out'); rewrite(Output);
                                             ^
0_0_34695704_22639.cpp:29:15: error: expected constructor, destructor, or type conversion before '(' token
         readln(n,m,l,r);
               ^
0_0_34695704_22639.cpp:31:9: error: 'len' does not name a type
         len:=(r div m)-((l-1) div m);//
         ^
0_0_34695704_22639.cpp:33:9: error: expected unqualified-id before 'for'
         for i:=len downto 1 do
         ^
0_0_34695704_22639.cpp:36:17: error: 'r2' does not name a type
                 r2:=r div (i*m);
                 ^
0_0_34695704_22639.cpp:38:17: error: 'f' does not name a type
                 f[i]:=qpower(r2-l2,1)-(r2-l2);//-
                 ^
0_0_34695704_22639.cpp:40:17: error: expected unqualified-id before 'for'
                 for j:=2 to len div i do//
                 ^
0_0_34695704_22639.cpp:43:17: error: expected unqualified-id before 'if'
                 if f[i]<0 then
                 ^
0_0_34695704_22639.cpp:45:9: error: 'end' does not name a type
         end;
         ^
0_0_34695704_22639.cpp:47:9: error: expected unqualified-id before 'if'
         if (l<=m) and (m<=r) then//KLR,K,。
         ^
0_0_34695704_22639.cpp:50:16: error: expected constructor, destructor, or type conversion before '(' token
         writeln(f[1]);
                ^
0_0_34695704_22639.cpp:52:14: error: expected constructor, destructor, or type conversion before '(' token
         close(Input); close(Output);
              ^
0_0_34695704_22639.cpp:52:28: error: expected constructor, destructor, or type conversion before '(' token
         close(Input); close(Output);
                            ^
0_0_34695704_22639.cpp:53:1: error: 'end' does not name a type
 end.
 ^


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-30 13:23:19, Gzip enabled