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_39769232_1333.cpp:12:22: error: stray '#' in program
   12 |             input()  # This is to consume the "END" line
      |                      ^
0_0_39769232_1333.cpp:14:15: error: invalid preprocessing directive #Deciphering
   14 |             # Deciphering the message
      |               ^~~~~~~~~~~
0_0_39769232_1333.cpp:17:41: error: stray '#' in program
   17 |                 if 'A' <= char <= 'Z':  # Check if it's an uppercase letter
      |                                         ^
0_0_39769232_1333.cpp:17:54: error: missing terminating ' character
   17 |                 if 'A' <= char <= 'Z':  # Check if it's an uppercase letter
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~
0_0_39769232_1333.cpp:18:23: error: invalid preprocessing directive #Shift
   18 |                     # Shift 5 positions to the left
      |                       ^~~~~
0_0_39769232_1333.cpp:22:49: error: stray '#' in program
   22 |                     plain_message.append(char)  # Non-alphabet characters remain the same
      |                                                 ^
0_0_39769232_1333.cpp:24:15: error: invalid preprocessing directive #Join
   24 |             # Join the list to form the output string
      |               ^~~~
0_0_39769232_1333.cpp:25:19: error: empty character constant
   25 |             print(''.join(plain_message))
      |                   ^~
0_0_39769232_1333.cpp:27:3: error: invalid preprocessing directive #Call
   27 | # Call the function to run the deciphering process
      |   ^~~~
0_0_39769232_1333.cpp:1:1: error: 'def' does not name a type
    1 | def decipher_caesar_cipher():
      | ^~~


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-23 01:34:19, Gzip enabled