Skip to content

Commit

Permalink
Update main.cpp (#136)
Browse files Browse the repository at this point in the history
A  description .......
  • Loading branch information
eduard-bagdasaryan authored and ed-bot committed Mar 13, 2024
1 parent 3ebd7f1 commit f1c7630
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#include <chrono>
#include "generator.h"
#include "tests.h"
#include "brute.h"


#include "generator.h"
#include "tests.h"
#include "brute.h"
static void Func() {}


int main(int argc, char**argv)
{
ArgParser parser(argc, argv);
Expand Down
2 changes: 1 addition & 1 deletion tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
BruteTester::BruteTester(char first, int cnt1, char second, int cnt2, int maxlen, int startlen)
:FirstChar(first), FirstCount(cnt1), SecondChar(second), SecondCount(cnt2), MaxPassLen(maxlen), StartLen(startlen)
{ ;;; }

void BruteTester::BlocksGenerateToFile(string const &fname)
{
int len1 = 10;
Expand Down
10 changes: 5 additions & 5 deletions tst.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#! /bin/sh

# 5c8df559fbbe5156c06996be9c34397f hash for "lzx"
# 5c8df559fbbe5156c06996be9c34397f hash for "lzx"
# Evaluating execution time for one thread
./brute 2 3 65-90:97-122 5c8df559fbbe5156c06996be9c34397f 1

# Evaluating execution time for four threads
./brute 2 3 65-90:97-122 5c8df559fbbe5156c06996be9c34397f 4
./brute 2 3 65-90:97-122 5c8df559fbbe5156c06996be9c34397f 1
# Evaluating execution time for four threads
./brute 2 3 65-90:97-122 5c8df559fbbe5156c06996be9c34397f 4


0 comments on commit f1c7630

Please sign in to comment.