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_39064177_5361.cpp:3:3: error: invalid preprocessing directive #in; did you mean #if?
    3 | # in python3.7: import urllib.request
      |   ^~
      |   if
0_0_39064177_5361.cpp:25:3: error: invalid preprocessing directive #do
   25 | # do they want to drill phrases first
      |   ^~
0_0_39064177_5361.cpp:30:3: error: invalid preprocessing directive #load
   30 | # load up the words from the website
      |   ^~~~
0_0_39064177_5361.cpp:31:3: error: invalid preprocessing directive #in; did you mean #if?
   31 | # in python3.7: for word in urllib.request.urlopen(WORD_URL).readlines():
      |   ^~
      |   if
0_0_39064177_5361.cpp:50:11: error: invalid preprocessing directive #fake
   50 |         # fake class names
      |           ^~~~
0_0_39064177_5361.cpp:54:11: error: invalid preprocessing directive #fake
   54 |         # fake other names
      |           ^~~~
0_0_39064177_5361.cpp:58:11: error: invalid preprocessing directive #fake
   58 |         # fake parameter lists
      |           ^~~~
0_0_39064177_5361.cpp:67:3: error: invalid preprocessing directive #keep
   67 | # keep going until they hit CTRL-D
      |   ^~~~
0_0_39064177_5361.cpp:1:1: error: 'import' does not name a type
    1 | import random
      | ^~~~~~
0_0_39064177_5361.cpp:1:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39064177_5361.cpp:26:1: error: 'PHRASE_FIRST' does not name a type
   26 | PHRASE_FIRST = False
      | ^~~~~~~~~~~~


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 03:43:46, Gzip enabled