hello codeforces community At the last contest (codeforces round Div2 1101 ) , i tried to solve C2 before C1 and take 8 wrong submissions on test 16 in C2 at the last three minutes I submitted solutions for C2 and C1 the same same code but The strange thing is that the C1 get accepted and C2 wrong on test 16 and the most strange thing is that when I saw test 16 it was 1000 test cases and the correct answer is 43 so i thing n may be small may this test can be put in C1 if n <= 3000 and make my code fails this is my submission on C1 : https://codeforces.me/contest/2232/submission/376701327 and this for C2 : https://codeforces.me/contest/2232/submission/376701241
can the author explain why that happen and sorry for bad english








Submitted same code for both worked and together passed
36champ take a look
.
#define int long long
on line 4
Finally I find testcase make my code fail
n = 5 , s = 2 , x = 3
IAAII
correct output = 4 my output = 5
36champ look at this pls
Can you explain more about where you need my help?
The output is 4 because you only have 2 tables, so you cannot seat all the introverts.
bro my code get AC and there are some test cases make it wrong
as this
also the same code fail in c2
for tests like this
my code (must fail in C1) but get AC also may there is many other solutions like it
Looks like the tests weren't strong enough. This isn't a first-time occurrence. I believe that in this situation you preserve your AC and rating change but additional tests can be added to the problem so others don't get AC with the same mistake. Anyway, you're quite lucky that your solution got accepted!
I agree with the comment above. C1 also uses the different tests to C2. The test will be added soon but it will not affect your score in the contest.