I think it would be great to add a feature of "code testing" on Z-Training.
That means: I submit my program, and I submit my own test case (input), and the system runs my code and tells me the output that my program returned.
Why this?
Because there are SO MANY user comments about "not passing ANY of the test cases, when their program works perfectly on their computer" - yes I also have a LOT of submissions, which I run on my computer, and I always get the correct result on all test cases I made - and I make many test cases for any situation I could imagine. And then, how is it possible for my code not to pass ANY of your test cases?
Then people just want to know, do they REALLY have bugs in their code, or is it some compiler issue (because not everyone is using same compilers as you)?
Then it would be ideal to provide a test for users - they upload their code, and THEIR OWN test cases which they KNOW their program passes - and if the output is wrong, then they know it is something about the compiler. And if the output is correct for all their test cases, when tested on Z-Training - then they really ARE wrong somewhere in code.
That's why the "code testing" feature would be so great and would help users so much...
And the sites like USACO already have the test feature - where users give their own inputs and USACO system writes them the output... Because it's always better to test on the system where I'm going to post the code, than on my own computer where everything can be different.
So how about adding that feature to Z-training?
That means: I submit my program, and I submit my own test case (input), and the system runs my code and tells me the output that my program returned.
Why this?
Because there are SO MANY user comments about "not passing ANY of the test cases, when their program works perfectly on their computer" - yes I also have a LOT of submissions, which I run on my computer, and I always get the correct result on all test cases I made - and I make many test cases for any situation I could imagine. And then, how is it possible for my code not to pass ANY of your test cases?
Then people just want to know, do they REALLY have bugs in their code, or is it some compiler issue (because not everyone is using same compilers as you)?
Then it would be ideal to provide a test for users - they upload their code, and THEIR OWN test cases which they KNOW their program passes - and if the output is wrong, then they know it is something about the compiler. And if the output is correct for all their test cases, when tested on Z-Training - then they really ARE wrong somewhere in code.
That's why the "code testing" feature would be so great and would help users so much...
And the sites like USACO already have the test feature - where users give their own inputs and USACO system writes them the output... Because it's always better to test on the system where I'm going to post the code, than on my own computer where everything can be different.
So how about adding that feature to Z-training?