[backend]将testdata/下的测例替换为了赛方测试用例,更新了测试脚本
This commit is contained in:
15
testdata/functional/39_op_priority5.sy
vendored
Normal file
15
testdata/functional/39_op_priority5.sy
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
int a = 1;
|
||||
int b = 0;
|
||||
int c = 1;
|
||||
int d = 2;
|
||||
int e = 4;
|
||||
int main()
|
||||
{
|
||||
int flag=0;
|
||||
if(a * b / c == e + d && a * (a + b) + c <= d + e || a - (b * c) == d - a / c)
|
||||
{
|
||||
flag=1;
|
||||
}
|
||||
putint(flag);
|
||||
return flag;
|
||||
}
|
||||
Reference in New Issue
Block a user