0.0.18 • Published 8 years ago
generator-codechef v0.0.18
generator-codechef

Project builder for codechef
Installation
First, install Yeoman and generator-codechef using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-codechefThen generate your new project:
yo codechefUsing 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 withvalue.TDINIT(arr, n, value)- Initialize a 2d array of size n*n withvalue.PRINTARR(arr, n)- Prints an arrayINPUTARR(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.
License
MIT © Prathik Rajendran M.