Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
数据有错?下面的输入,我最后一个operation输出的是1,和标准数据不同。 我把每一步的情况都打印出来了没发现问题。但很多人过了 这题?? 输入: ============================================================== 1 49 PUSH DUP PUSH ADD ADD DUP DUP DUP DUP DUP DUP INTERSECT ADD INTERSECT DUP DUP UNION ADD UNION DUP DUP UNION DUP DUP INTERSECT DUP UNION DUP INTERSECT UNION DUP DUP UNION PUSH UNION DUP UNION PUSH UNION DUP DUP DUP DUP DUP DUP PUSH DUP ADD INTERSECT ============================================================== 每一步打印出来的stack: ============================================================== PUSH: {} DUP: {} {} PUSH: {} {} {} ADD: {} {{}} ADD: {{}} DUP: {{}} {{}} DUP: {{}} {{}} {{}} DUP: {{}} {{}} {{}} {{}} DUP: {{}} {{}} {{}} {{}} {{}} DUP: {{}} {{}} {{}} {{}} {{}} {{}} DUP: {{}} {{}} {{}} {{}} {{}} {{}} {{}} INTERSECT: {{}} {{}} {{}} {{}} {{}} {{}} ADD: {{}} {{}} {{}} {{}} {{}, {{}}} INTERSECT: {{}} {{}} {{}} {{}} DUP: {{}} {{}} {{}} {{}} {{}} DUP: {{}} {{}} {{}} {{}} {{}} {{}} UNION: {{}} {{}} {{}} {{}} {{}} ADD: {{}} {{}} {{}} {{}, {{}}} UNION: {{}} {{}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} UNION: {{}} {{}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} INTERSECT: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} UNION: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} INTERSECT: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} UNION: {{}} {{}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} UNION: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} PUSH: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {} UNION: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} UNION: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} PUSH: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {} UNION: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} PUSH: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {} DUP: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {} {} ADD: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}} INTERSECT: {{}} {{}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}, {{}}} {{}} Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator