-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRunVoting.c++
63 lines (39 loc) · 828 Bytes
/
RunVoting.c++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// -------------------------------
// projects/voting/RunVoting.c++
// Copyright (C) 2015
// Glenn P. Downing
// -------------------------------
// --------
// includes
// --------
#include <iostream> // cin, cout
#include "Voting.h"
// ----
// main
// ----
int main () {
using namespace std;
run_cases(cin, cout);
return 0;}
/*
% g++ -pedantic -std=c++11 -Wall Voting.c++ RunVoting.c++ -o RunVoting
% cat RunVoting.in
1 10
00 200
201 210
900 1000
% RunVoting < RunVoting.in > RunVoting.out
% cat RunVoting.out
10 1
100 200 1
201 210 1
900 1000 1
% doxygen -g
// That creates the file Doxyfile.
// Make the following edits to Doxyfile.
// EXTRACT_ALL = YES
// EXTRACT_PRIVATE = YES
// EXTRACT_STATIC = YES
% doxygen Doxyfile
// That creates the directory html/.
*/