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_36037793_9719.cpp:3:7: error: invalid preprocessing directive #@
     # @param tokens, a list of string
       ^
0_0_36037793_9719.cpp:4:7: error: invalid preprocessing directive #@
     # @return an integer
       ^
0_0_36037793_9719.cpp:5:9: error: expected class-name before 'evalRPN'
     def evalRPN(self, tokens):
         ^
0_0_36037793_9719.cpp:5:9: error: expected '{' before 'evalRPN'
0_0_36037793_9719.cpp:5:16: error: invalid type in declaration before '(' token
     def evalRPN(self, tokens):
                ^
0_0_36037793_9719.cpp:5:17: error: 'self' was not declared in this scope
     def evalRPN(self, tokens):
                 ^
0_0_36037793_9719.cpp:5:23: error: 'tokens' was not declared in this scope
     def evalRPN(self, tokens):
                       ^
0_0_36037793_9719.cpp:5:29: error: expression list treated as compound expression in initializer [-fpermissive]
     def evalRPN(self, tokens):
                             ^
0_0_36037793_9719.cpp:5:30: error: expected ',' or ';' before ':' token
     def evalRPN(self, tokens):
                              ^


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-26 13:14:19, Gzip enabled