A repository containing solution templates for problems of various automated online judges.
oj-solution-templates/
├─ .gitignore
├─ README.md
├─ src/
├─ io/
├─ github/
├─ tahanima/
├─ codechef/
├─ ...
├─ uva/
├─ ...
...
- Get a copy of oj-solution-templates by clicking the Fork button.
- Clone, i.e, download your copy of the repository to your local machine using
git clone https://github.com/[your_username]/oj-solution-templates.git
- Open the project in IntelliJ IDEA.
- Code the solution for your preferred problem.
- Make sure to remove the package definition in the online judge's code editor while submitting the solution in order to avoid any compilation error.
Solution using the UVa 13025 - Back to the Past template.
package io.github.tahanima.uva._13025;
public class Main {
/**
* @return a string containing the answer
*/
public static String solve() {
// Implement this method
return "May 29, 2013 Wednesday";
}
/**
* Takes care of the problem's input and output.
*/
public static void main(String[] args) {
System.out.println(solve());
}
}
beecrowd
CodeChef
| # |
Problem Title |
Solution Template |
| BATTERYLOW |
Battery Low |
[Link] |
| COURSEREG |
Course Registration |
[Link] |
| CREDSCORE |
Credit score |
[Link] |
| EMAILREM |
Email Reminders |
[Link] |
| FBC |
Fill the Bucket |
[Link] |
| INCRIQ |
Increase IQ |
[Link] |
| INSTNOODLE |
Chef and Instant Noodles |
[Link] |
| JCOINS |
Janmansh and Coins |
[Link] |
| NOTEBOOK |
Count the Notebooks |
[Link] |
| TYRE |
Tyre problem |
[Link] |
| VOLCONTROL |
Volume Control |
[Link] |
UVa
| # |
Problem Title |
Solution Template |
| 401 |
Palindromes |
[Link] |
| 1124 |
Celebrity jeopardy |
[Link] |
| 11044 |
Searching for Nessy |
[Link] |
| 11172 |
Relational Operator |
[Link] |
| 11547 |
Automatic Answer |
[Link] |
| 11614 |
Etruscan Warriors Never Play Chess |
[Link] |
| 11727 |
Cost Cutting |
[Link] |
| 12250 |
Language Detection |
[Link] |
| 13025 |
Back to the Past |
[Link] |