Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testcase about A2 #2

Closed
liuyufei opened this issue May 18, 2022 · 7 comments
Closed

Testcase about A2 #2

liuyufei opened this issue May 18, 2022 · 7 comments

Comments

@liuyufei
Copy link

Can you provide more tips about the testcase of A2, the acceptance of A2 is only 2%. 51 of the 52 methods were passed for my program, for the last method I have no idea about the reason.

@FXTi
Copy link

FXTi commented May 20, 2022

企业微信截图_1653055000114

@liuyufei
Copy link
Author

Nice!

@bluesadi
Copy link

Thanks for your issue! I also got stuck in this case...

@9iang22
Copy link

9iang22 commented Jul 27, 2022

Thanks for your issue,
And another(51/52),
when you init the boundary with the params of the method, remember to check if they can hold an int value.

@retanoj
Copy link

retanoj commented Jan 17, 2023

Deal with stmt type in transferNode, carefully :)
image

And, "otherwise UNDEF" condition
image

chinggg added a commit to chinggg/Tai-e-assignments that referenced this issue Feb 17, 2023
fix: DIV0 can happen even if operand1 is not constant, check it in the beginning

help from pascal-lab#2
@CharesFang
Copy link

Just be careful when you are processing div 0 or rem 0 operations...
Kindly note: when op1 is nac, you still have to consider the situations above.
Hope you all well!

@1sunny
Copy link

1sunny commented Sep 13, 2023

nac / 0: this case is so hard to think of

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants