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_39659030_6554.cpp:1:3: error: invalid preprocessing directive #Loop
    1 | # Loop until the input is 0 0
      |   ^~~~
0_0_39659030_6554.cpp:3:7: error: invalid preprocessing directive #Read
    3 |     # Read a line of input and split it into two integers a and b
      |       ^~~~
0_0_39659030_6554.cpp:6:7: error: invalid preprocessing directive #Check
    6 |     # Check if the input is 0 0, if so, break the loop
      |       ^~~~~
0_0_39659030_6554.cpp:10:7: error: invalid preprocessing directive #Calculate
   10 |     # Calculate the sum of a and b
      |       ^~~~~~~~~
0_0_39659030_6554.cpp:13:7: error: invalid preprocessing directive #Print
   13 |     # Print the sum
      |       ^~~~~
0_0_39659030_6554.cpp:2:1: error: expected unqualified-id before 'while'
    2 | while True:
      | ^~~~~


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 15:20:39, Gzip enabled