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_22655896_690.cpp:1:13: error: too many decimal points in number
 var a:array[1..1000000]of longint;
             ^
0_0_22655896_690.cpp:1:1: error: 'var' does not name a type
 var a:array[1..1000000]of longint;
 ^
0_0_22655896_690.cpp:2:5: error: 't' does not name a type
     t,n,i,s:longint;
     ^
0_0_22655896_690.cpp:3:1: error: 'begin' does not name a type
 begin
 ^
0_0_22655896_690.cpp:5:1: error: expected unqualified-id before 'while'
 while t>0 do begin
 ^
0_0_22655896_690.cpp:6:16: error: expected constructor, destructor, or type conversion before '(' token
     dec(t);read(n);
                ^
0_0_22655896_690.cpp:7:5: error: expected unqualified-id before 'for'
     for i:=1 to n do begin
     ^
0_0_22655896_690.cpp:9:9: error: 'a' does not name a type
         a[s]:=i;
         ^
0_0_22655896_690.cpp:10:5: error: 'end' does not name a type
     end;
     ^
0_0_22655896_690.cpp:11:5: error: expected unqualified-id before 'for'
     for i:=n-1 downto 0 do if i<>0 then if a[i]>a[i+1]then break;
     ^
0_0_22655896_690.cpp:12:12: error: expected constructor, destructor, or type conversion before '(' token
     writeln(i);
            ^
0_0_22655896_690.cpp:13:1: error: 'end' does not name a type
 end;
 ^
0_0_22655896_690.cpp:14: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-22 22:22:17, Gzip enabled