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_21782028_28060.cpp:17:18: error: empty character constant
 previous_runid = ''
                  ^
0_0_21782028_28060.cpp:23:23: error: empty character constant
 template_input_data = '''
                       ^
0_0_21782028_28060.cpp:23:1: error: missing terminating ' character
 template_input_data = '''
 ^
0_0_21782028_28060.cpp:78:1: error: empty character constant
 '''
 ^
0_0_21782028_28060.cpp:78:1: error: missing terminating ' character
0_0_21782028_28060.cpp:79:25: error: empty character constant
 template_input_length = '''
                         ^
0_0_21782028_28060.cpp:79:1: error: missing terminating ' character
 template_input_length = '''
 ^
0_0_21782028_28060.cpp:129:1: error: empty character constant
 '''
 ^
0_0_21782028_28060.cpp:129:1: error: missing terminating ' character
0_0_21782028_28060.cpp:138:6: error: invalid preprocessing directive #print
     #print(repr(cookies))
      ^
0_0_21782028_28060.cpp:175:6: error: invalid preprocessing directive #print
     #print(repr(cookies))
      ^
0_0_21782028_28060.cpp:177:11: error: invalid preprocessing directive #need
         # need login
           ^
0_0_21782028_28060.cpp:182:6: error: invalid preprocessing directive #print
     #print(repr(cookies))
      ^
0_0_21782028_28060.cpp:183:11: error: token "." is not valid in preprocessor expressions
     # if r.status_code != 302:
           ^
0_0_21782028_28060.cpp:194:15: error: invalid preprocessing directive #server
             # server is busy so that return something else.
               ^
0_0_21782028_28060.cpp:201:37: error: stray '#' in program
         if runid == previous_runid: # submit failed
                                     ^
0_0_21782028_28060.cpp:183:0: error: unterminated #else
     # if r.status_code != 302:
 ^
0_0_21782028_28060.cpp:1:1: error: 'import' does not name a type
 import requests
 ^
0_0_21782028_28060.cpp:9:1: error: 'language' does not name a type
 language['G++'] = 1
 ^
0_0_21782028_28060.cpp: In function 'int main()':
0_0_21782028_28060.cpp:59:16: error: 'skip' was not declared in this scope
   if (count == skip)
                ^
0_0_21782028_28060.cpp:61:14: error: 'guess' was not declared in this scope
    if (ch == guess)
              ^
0_0_21782028_28060.cpp: At global scope:
0_0_21782028_28060.cpp:78:1: error: expected unqualified-id before '\x0'
 '''
 ^
0_0_21782028_28060.cpp: In function 'void equal()':
0_0_21782028_28060.cpp:86:6: error: redefinition of 'void equal()'
 void equal(void)
      ^
0_0_21782028_28060.cpp:28:6: note: 'void equal()' previously defined here
 void equal(void)
      ^
0_0_21782028_28060.cpp: In function 'void less()':
0_0_21782028_28060.cpp:92:6: error: redefinition of 'void less()'
 void less(void)
      ^
0_0_21782028_28060.cpp:34:6: note: 'void less()' previously defined here
 void less(void)
      ^
0_0_21782028_28060.cpp: In function 'void greater()':
0_0_21782028_28060.cpp:100:6: error: redefinition of 'void greater()'
 void greater(void)
      ^
0_0_21782028_28060.cpp:42:6: note: 'void greater()' previously defined here
 void greater(void)
      ^
0_0_21782028_28060.cpp: In function 'int main()':
0_0_21782028_28060.cpp:107:5: error: redefinition of 'int main()'
 int main(void)
     ^
0_0_21782028_28060.cpp:49:5: note: 'int main()' previously defined here
 int main(void)
     ^
0_0_21782028_28060.cpp:115:14: error: 'guess' was not declared in this scope
  if (count < guess)
              ^
0_0_21782028_28060.cpp: At global scope:
0_0_21782028_28060.cpp:129:1: error: expected unqualified-id before '\x0'
 '''
 ^
0_0_21782028_28060.cpp:131:1: error: 'pid' does not name a type
 pid = 1000
 ^
0_0_21782028_28060.cpp:135:5: error: 'r' does not name a type
     r = requests.post(login_url, params={'action':'login'}, data={'username':username,'userpass':userpass, 'login':'Sign+In'}, headers = headers, cookies=cookies)
     ^
0_0_21782028_28060.cpp:135:59: error: expected unqualified-id before ',' token
     r = requests.post(login_url, params={'action':'login'}, data={'username':username,'userpass':userpass, 'login':'Sign+In'}, headers = headers, cookies=cookies)
                                                           ^
0_0_21782028_28060.cpp:135:65: error: expected constructor, destructor, or type conversion before '=' token
     r = requests.post(login_url, params={'action':'login'}, data={'username':username,'userpass':userpass, 'login':'Sign+In'}, headers = headers, cookies=cookies)
                                                                 ^
0_0_21782028_28060.cpp:135:126: error: expected unqualified-id before ',' token
     r = requests.post(login_url, params={'action':'login'}, data={'username':username,'userpass':userpass, 'login':'Sign+In'}, headers = headers, cookies=cookies)
                                                                                                                              ^
0_0_21782028_28060.cpp:135:136: error: expected constructor, destructor, or type conversion before '=' token
     r = requests.post(login_url, params={'action':'login'}, data={'username':username,'userpass':userpass, 'login':'Sign+In'}, headers = headers, cookies=cookies)
                                                                                                                                        ^
0_0_21782028_28060.cpp:172:5: error: 'r' does not name a type
     r = requests.get(submit_url, params={'pid':pid}, allow_redirects=False, cookies=cookies, headers=headers)
     ^
0_0_21782028_28060.cpp:172:52: error: expected unqualified-id before ',' token
     r = requests.get(submit_url, params={'pid':pid}, allow_redirects=False, cookies=cookies, headers=headers)
                                                    ^
0_0_21782028_28060.cpp:172:69: error: expected constructor, destructor, or type conversion before '=' token
     r = requests.get(submit_url, params={'pid':pid}, allow_redirects=False, cookies=cookies, headers=headers)
                                                                     ^
0_0_21782028_28060.cpp:179:61: error: expected unqualified-id before ',' token
     r = requests.post(submit_url, params={'action':'submit'}, data={'check':0, 'problemid':pid, 'language':language['C++']-1, 'usercode':usercode}, allow_redirects=False, cookies = cookies, headers=headers)
                                                             ^
0_0_21782028_28060.cpp:179:67: error: expected constructor, destructor, or type conversion before '=' token
     r = requests.post(submit_url, params={'action':'submit'}, data={'check':0, 'problemid':pid, 'language':language['C++']-1, 'usercode':usercode}, allow_redirects=False, cookies = cookies, headers=headers)
                                                                   ^
0_0_21782028_28060.cpp:179:147: error: expected unqualified-id before ',' token
     r = requests.post(submit_url, params={'action':'submit'}, data={'check':0, 'problemid':pid, 'language':language['C++']-1, 'usercode':usercode}, allow_redirects=False, cookies = cookies, headers=headers)
                                                                                                                                                   ^
0_0_21782028_28060.cpp:179:164: error: expected constructor, destructor, or type conversion before '=' token
     r = requests.post(submit_url, params={'action':'submit'}, data={'check':0, 'problemid':pid, 'language':language['C++']-1, 'usercode':usercode}, allow_redirects=False, cookies = cookies, headers=headers)
                                                                                                                                                                    ^
0_0_21782028_28060.cpp:189:84: error: expected unqualified-id before ',' token
         r = requests.get(status_url, params={'user':username, 'lang':0, 'status':0}, headers=headers,cookies=cookies)
                                                                                    ^
0_0_21782028_28060.cpp:189:93: error: expected constructor, destructor, or type conversion before '=' token
         r = requests.get(status_url, params={'user':username, 'lang':0, 'status':0}, headers=headers,cookies=cookies)
                                                                                             ^


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-25 00:48:51, Gzip enabled