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_28849563_12675.cpp:1:3: error: invalid preprocessing directive #
 # 无法正常排序
   ^
0_0_28849563_12675.cpp:2:5: error: stray '@' in program
 my  @s = [2443,5,33, 90, -9, 2, 764];
     ^
0_0_28849563_12675.cpp:3:5: error: stray '@' in program
 say @s.sort;     # 2443 5 33 90 -9 2 764 
     ^
0_0_28849563_12675.cpp:3:18: error: stray '#' in program
 say @s.sort;     # 2443 5 33 90 -9 2 764 
                  ^
0_0_28849563_12675.cpp:4:5: error: stray '@' in program
 say @s.WHAT;     # (Array)
     ^
0_0_28849563_12675.cpp:4:18: error: stray '#' in program
 say @s.WHAT;     # (Array)
                  ^
0_0_28849563_12675.cpp:5:5: error: stray '@' in program
 say @s.perl;     # [[2443, 5, 33, 90, -9, 2, 764]]<>
     ^
0_0_28849563_12675.cpp:5:18: error: stray '#' in program
 say @s.perl;     # [[2443, 5, 33, 90, -9, 2, 764]]<>
                  ^
0_0_28849563_12675.cpp:7:3: error: invalid preprocessing directive #
 # 正常排序
   ^
0_0_28849563_12675.cpp:9:18: error: stray '#' in program
 say $array.sort; #  -9 2 5 33 90 764 2443
                  ^
0_0_28849563_12675.cpp:10:18: error: stray '#' in program
 say $array.WHAT; # (Array)
                  ^
0_0_28849563_12675.cpp:11:18: error: stray '#' in program
 say $array.perl; # [2443, 5, 33, 90, -9, 2, 764]
                  ^
0_0_28849563_12675.cpp:13:5: error: stray '@' in program
 my  @s = (2443,5,33,90,-9,2,764); 
     ^
0_0_28849563_12675.cpp:14:5: error: stray '@' in program
 say @s.sort;     # -9 2 5 33 90 764 2443
     ^
0_0_28849563_12675.cpp:14:18: error: stray '#' in program
 say @s.sort;     # -9 2 5 33 90 764 2443
                  ^
0_0_28849563_12675.cpp:15:18: error: stray '#' in program
 say $array.WHAT; # (Array)
                  ^
0_0_28849563_12675.cpp:16:5: error: stray '@' in program
 say @s.perl;     # [2443, 5, 33, 90, -9, 2, 764]<>
     ^
0_0_28849563_12675.cpp:16:18: error: stray '#' in program
 say @s.perl;     # [2443, 5, 33, 90, -9, 2, 764]<>
                  ^
0_0_28849563_12675.cpp:2:1: error: 'my' does not name a type
 my  @s = [2443,5,33, 90, -9, 2, 764];
 ^
0_0_28849563_12675.cpp:3:1: error: 'say' does not name a type
 say @s.sort;     # 2443 5 33 90 -9 2 764 
 ^
0_0_28849563_12675.cpp:3:20: error: expected unqualified-id before numeric constant
 say @s.sort;     # 2443 5 33 90 -9 2 764 
                    ^
0_0_28849563_12675.cpp:5:1: error: expected constructor, destructor, or type conversion before 'say'
 say @s.perl;     # [[2443, 5, 33, 90, -9, 2, 764]]<>
 ^
0_0_28849563_12675.cpp:5:22: error: expected ']' before numeric constant
 say @s.perl;     # [[2443, 5, 33, 90, -9, 2, 764]]<>
                      ^
0_0_28849563_12675.cpp:8:40: error: declaration does not declare anything [-fpermissive]
 my  $array = [2443,5,33, 90, -9, 2, 764];
                                        ^
0_0_28849563_12675.cpp:9:1: error: 'say' does not name a type
 say $array.sort; #  -9 2 5 33 90 764 2443
 ^
0_0_28849563_12675.cpp:9:21: error: expected unqualified-id before '-' token
 say $array.sort; #  -9 2 5 33 90 764 2443
                     ^
0_0_28849563_12675.cpp:11:1: error: expected constructor, destructor, or type conversion before 'say'
 say $array.perl; # [2443, 5, 33, 90, -9, 2, 764]
 ^
0_0_28849563_12675.cpp:11:20: error: expected unqualified-id before '[' token
 say $array.perl; # [2443, 5, 33, 90, -9, 2, 764]
                    ^
0_0_28849563_12675.cpp:14:1: error: 'say' does not name a type
 say @s.sort;     # -9 2 5 33 90 764 2443
 ^
0_0_28849563_12675.cpp:14:20: error: expected unqualified-id before '-' token
 say @s.sort;     # -9 2 5 33 90 764 2443
                    ^
0_0_28849563_12675.cpp:16:1: error: expected constructor, destructor, or type conversion before 'say'
 say @s.perl;     # [2443, 5, 33, 90, -9, 2, 764]<>
 ^
0_0_28849563_12675.cpp:16:20: error: expected unqualified-id before '[' token
 say @s.perl;     # [2443, 5, 33, 90, -9, 2, 764]<>
                    ^


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-09-19 09:02:06, Gzip enabled