An open API service indexing awesome lists of open source software.

https://github.com/blueedgetechno/codeblue

An Atom package to test and submit solutions during codeforces contests.
https://github.com/blueedgetechno/codeblue

apm atom atom-editor atom-package codeblue codeforces contest forthebadge nolife react reactjs

Last synced: 9 days ago
JSON representation

An Atom package to test and submit solutions during codeforces contests.

Awesome Lists containing this project

README

        

# codeblue package for Atom text editor

[![APM version](https://img.shields.io/apm/v/codeblue?style=flat-square)](https://atom.io/packages/codeblue)
[![APM downloads](https://img.shields.io/apm/dm/codeblue?style=flat-square)](https://atom.io/packages/codeblue)
[![APM Licence](https://img.shields.io/badge/licence-MIT-orange?style=flat-square)](https://opensource.org/licences/MIT)
[![Follow me](https://img.shields.io/github/followers/blueedgetechno?label=follow%20me&style=social)](https://github.com/blueedgetechno)

[![forthebadge made-by-hipster](https://forthebadge.com/images/badges/built-by-hipsters.svg)](https://www.javascript.com/)
[![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)](https://github.com/blueedgetechno)

## An Atom package for all your competitive coding needs

A codeforces helper that can test, run, present and submit solutions on codeforces

![overview](https://raw.githubusercontent.com/blueedgetechno/codeblue/master/img/codeblue.gif)

### Installation
Step 1.
```
apm install codeblue
```
Step 2.
```
pip install online-judge-tools
```
Step 3.
```
oj l https://codeforces.com/
```

## Features

- Fetch and load details of a live codeforces contest ⚡
- Automatically create an environment for contest including working files 💻
- Run code with official sample cases of any particular problem 🔭
- Compare your output with expected output in a elegant manner 📺
- Get your code verdicts like OK ✅, Wrong answer ❌, TLE 🕒, MLE 🛢, Runtime error or Compilation error ⚠, Queue ⏳, Hacked ☠️
- Submit 🏳‍🌈 your code from your favorite text editor
- Get your official standing of the live contest 👥
- Play minigames while you wait for the contest 🎮

## Updates
- Option to detect and login from the plugin itself
- Now you can change working directory by right clicking in the tree view

## Guide
- Set your preferences in settings of the package, in advance
- Delete the folders and files of working directory before contest and check the create environment
- Click on Refresh button to refresh the standings
- Click on the yellow user icon to minimize/maximize friends standing view
- Click on your profile picture to refresh problems
- Click on an example number to copy its input data

## Limitations
- I will try to remove the dependency of online-judge-tools for non-python users in future updates

- While running C or C++ files, it sometimes run the previously compiled file and shows the same verdict. Incase of that delete the previously compiled file and run the code again

- Not tested for linux or macOs

##### Any feedback will be highly appreciable


![overview](https://raw.githubusercontent.com/blueedgetechno/codeblue/master/img/face.png)

![work](https://raw.githubusercontent.com/blueedgetechno/codeblue/master/img/work.png)


# Play while you wait

![game](https://raw.githubusercontent.com/blueedgetechno/codeblue/master/img/game.png)


# Detailed and concise error presentation

![error](https://raw.githubusercontent.com/blueedgetechno/codeblue/master/img/error.png)


# Wrong answer ?

![Wrong answer](https://raw.githubusercontent.com/blueedgetechno/codeblue/master/img/run.png)


# * Ain't Nobody Got Time For That *
![TLE](https://raw.githubusercontent.com/blueedgetechno/codeblue/master/img/tle.png)


# MLE - Its a thing too
![TLE](https://raw.githubusercontent.com/blueedgetechno/codeblue/master/img/mle.png)