Download the "zi.h" file from here: www.z-trening.com/static/cc/zi.h
Put the file in the same directory as your solution. For example if you were solving the problem "Sum of two numbers" your solution would look like:
Of course, you have to put your own username
Compile and run the code.
Linux/Win(cygwin)
Win(MinGW)
I would like to hear your opinions about this.
Put the file in the same directory as your solution. For example if you were solving the problem "Sum of two numbers" your solution would look like:
#include <iostream>
#include "zi.h"
int main () {
ZGRADE(admin, 5000000001);
int a, b;
std::cin >> a >> b;
std::cout << (a+b);
return 0;
}Of course, you have to put your own username
Compile and run the code.
Linux/Win(cygwin)
#g++ sum.cc -o sum.bin
#./sum.binWin(MinGW)
>g++ sum.cc -lws2_32 -o sum.exe
>sum.exeI would like to hear your opinions about this.