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_22381981_25822.cpp:1:1: error: stray '@' in program
 @str =<STDIN>;
 ^
0_0_22381981_25822.cpp:2:16: error: stray '@' in program
 foreach $line (@str)
                ^
0_0_22381981_25822.cpp:4:2: error: stray '@' in program
  @arr = split(/\s/, $line);
  ^
0_0_22381981_25822.cpp:4:2: error: stray '\' in program
0_0_22381981_25822.cpp:5:9: error: stray '@' in program
  print (@arr[0] + @arr[1]."\n");
         ^
0_0_22381981_25822.cpp:5:19: error: stray '@' in program
  print (@arr[0] + @arr[1]."\n");
                   ^
0_0_22381981_25822.cpp:6:3: error: stray '@' in program
 } @str =<STDIN>;
   ^
0_0_22381981_25822.cpp:7:16: error: stray '@' in program
 foreach $line (@str)
                ^
0_0_22381981_25822.cpp:9:2: error: stray '@' in program
  @arr = split(/\s/, $line);
  ^
0_0_22381981_25822.cpp:9:2: error: stray '\' in program
0_0_22381981_25822.cpp:10:9: error: stray '@' in program
  print (@arr[0] + @arr[1]."\n");
         ^
0_0_22381981_25822.cpp:10:19: error: stray '@' in program
  print (@arr[0] + @arr[1]."\n");
                   ^
0_0_22381981_25822.cpp:11:3: error: stray '@' in program
 } @str =<STDIN>;
   ^
0_0_22381981_25822.cpp:12:16: error: stray '@' in program
 foreach $line (@str)
                ^
0_0_22381981_25822.cpp:14:2: error: stray '@' in program
  @arr = split(/\s/, $line);
  ^
0_0_22381981_25822.cpp:14:2: error: stray '\' in program
0_0_22381981_25822.cpp:15:9: error: stray '@' in program
  print (@arr[0] + @arr[1]."\n");
         ^
0_0_22381981_25822.cpp:15:19: error: stray '@' in program
  print (@arr[0] + @arr[1]."\n");
                   ^
0_0_22381981_25822.cpp:1:2: error: 'str' does not name a type
 @str =<STDIN>;
  ^
0_0_22381981_25822.cpp:2:1: error: 'foreach' does not name a type
 foreach $line (@str)
 ^
0_0_22381981_25822.cpp:6:4: error: 'str' does not name a type
 } @str =<STDIN>;
    ^
0_0_22381981_25822.cpp:7:1: error: 'foreach' does not name a type
 foreach $line (@str)
 ^
0_0_22381981_25822.cpp:11:4: error: 'str' does not name a type
 } @str =<STDIN>;
    ^
0_0_22381981_25822.cpp:12:1: error: 'foreach' does not name a type
 foreach $line (@str)
 ^


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 12:02:47, Gzip enabled