grains: implementation with warning

This commit is contained in:
Dmitry Kokorin 2016-03-16 10:45:11 +03:00
parent 7b9ceb13b1
commit 2458db6091
2 changed files with 32 additions and 0 deletions

14
cpp/grains/grains.h Normal file
View file

@ -0,0 +1,14 @@
#pragma once
#define EXERCISM_RUN_ALL_TESTS
namespace grains {
typedef unsigned long long ulong_t;
typedef unsigned int index_t;
ulong_t square(index_t index);
ulong_t total();
}