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