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_39659040_29185.cpp:1:3: error: invalid preprocessing directive #Since
    1 | # Since the input is not specified to have a clear end, we'll loop over lines until there's no more input
      |   ^~~~~
0_0_39659040_29185.cpp:4:11: error: invalid preprocessing directive #Read
    4 |         # Read a line of input
      |           ^~~~
0_0_39659040_29185.cpp:7:11: error: invalid preprocessing directive #Split
    7 |         # Split the line into parts and convert the first part to an integer N
      |           ^~~~~
0_0_39659040_29185.cpp:11:11: error: invalid preprocessing directive #Convert
   11 |         # Convert the rest of the parts to integers and sum them up
      |           ^~~~~~~
0_0_39659040_29185.cpp:15:11: error: invalid preprocessing directive #Print
   15 |         # Print the sum for this test case
      |           ^~~~~
0_0_39659040_29185.cpp:18:7: error: invalid preprocessing directive #This
   18 |     # This is in case the input is coming from a file and reaches the end
      |       ^~~~
0_0_39659040_29185.cpp:2:1: error: expected unqualified-id before 'try'
    2 | try:
      | ^~~


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-28 11:11:01, Gzip enabled