Is is possible to create an application using c++ and qt creator, which will take input(code) from user and will show result of submission as Wrong answer or Accepted!
# | User | Rating |
---|---|---|
1 | tourist | 3993 |
2 | jiangly | 3743 |
3 | orzdevinwang | 3707 |
4 | Radewoosh | 3627 |
5 | jqdai0815 | 3620 |
6 | Benq | 3564 |
7 | Kevin114514 | 3443 |
8 | ksun48 | 3434 |
9 | Rewinding | 3397 |
10 | Um_nik | 3396 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 156 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
10 | nor | 152 |
Is is possible to create an application using c++ and qt creator, which will take input(code) from user and will show result of submission as Wrong answer or Accepted!
Name |
---|
You need to know the concept behind judging. Usually there are two types of judge,
Normal Judge: They compare the result of the submitted problems execution for a input with the judges output file. AC is given if they match. Other verdict can be given by analyzing the submitted programs behivour.
Special Judge: There are programs inside the judge, which takes the submitted programs output and determine if that is correct. Problems that allow multiple type of solution require this.
So, basically you need the output and input file for every problem you are going to test. If the problem require special judge, you need the program that can check the result, NB: every problem need different program.
You may also want to see the program PC^2, check if that meet your needs.
How can I integrate compiler to my application, there are no option in language, the person can submit in only c++, there is no server or lan, the application will be in the users desktop, he will submit soln and a log will be created for his each submission.
I just want to integrate a compiler to my application, user submit a soln in c++, he can see the verdict, and there will be a log file which will contain all the verdicts and timings of soln!
Please help!
For what OS do you make the program? Under linux you have the exec function, which can run commands such as g++. So you will make the executable by compiling the code usung exec and g++, and then you will run the binary file (your program, the executable) also with exec.