Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prathik/generator-codechef
https://github.com/prathik/generator-codechef
codechef competitive-programming
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prathik/generator-codechef
- Owner: prathik
- License: mit
- Created: 2017-02-20T06:26:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-26T08:55:07.000Z (about 7 years ago)
- Last Synced: 2024-08-09T20:44:48.953Z (5 months ago)
- Topics: codechef, competitive-programming
- Language: JavaScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# generator-codechef [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]
> Project builder for codechef## Installation
First, install [Yeoman](http://yeoman.io) and generator-codechef using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).
```bash
npm install -g yo
npm install -g generator-codechef
```Then generate your new project:
```bash
yo codechef
```## Using with Vim
This project is going to be built with Vim users in mind.
Load main.cpp in vim, after coding run `:make` in vim to generate the binary
and run the test.`test.txt` will contain data which codechef will input.
`output.txt` contains the expected output for the testcase.
## Useful macros
* `ARRINIT(arr, n, value)` - Initialize arr of size n with `value`.
* `TDINIT(arr, n, value)` - Initialize a 2d array of size n*n with `value`.
* `PRINTARR(arr, n)` - Prints an array
* `INPUTARR(arr, n)` - Input an array
## Getting To Know Yeoman* Yeoman has a heart of gold.
* Yeoman is a person with feelings and opinions, but is very easy to work with.
* Yeoman can be too opinionated at times but is easily convinced not to be.
* Feel free to [learn more about Yeoman](http://yeoman.io/).## License
MIT © [Prathik Rajendran M.]()
[npm-image]: https://badge.fury.io/js/generator-codechef.svg
[npm-url]: https://npmjs.org/package/generator-codechef
[travis-image]: https://travis-ci.org/prathik/generator-codechef.svg?branch=master
[travis-url]: https://travis-ci.org/prathik/generator-codechef
[daviddm-image]: https://david-dm.org/prathik/generator-codechef.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/prathik/generator-codechef