We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems the program is treating \n as a symbol. See echo -n "GA" > dataset/2chars.txt echo "GA" > dataset/example2.txt
./main -l -s -f dataset/2chars.txt d = 1 N = 2 bytes sizeof(int) = 4 bytes
TOTAL: CLOCK = 0.000024 TIME = 0.000000 0.000024 OUTPUT: dataset/2chars.txt.pos
Max(LA[0]): 1 Avg(LA[i]): 1.00
Number of Lyndon factors: 2 Average length: 1.00 Maximum length: 1
malloc_count ### exiting, total: 27861, peak: 21208, current: 1024 21208
d = 1 N = 3 bytes sizeof(int) = 4 bytes
TOTAL: CLOCK = 0.000032 TIME = 0.000000 0.000032 OUTPUT: dataset/example2.txt.pos
Number of Lyndon factors: 3 Average length: 1.00 Maximum length: 1
malloc_count ### exiting, total: 27871, peak: 21208, current: 1024 21208
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It seems the program is treating \n as a symbol.
See
echo -n "GA" > dataset/2chars.txt
echo "GA" > dataset/example2.txt
./main -l -s -f dataset/2chars.txt
d = 1
N = 2 bytes
sizeof(int) = 4 bytes
SACAK_LYNDON 9n (linear)
TOTAL:
CLOCK = 0.000024 TIME = 0.000000
0.000024
OUTPUT:
dataset/2chars.txt.pos
Max(LA[0]): 1
Avg(LA[i]): 1.00
Number of Lyndon factors: 2
Average length: 1.00
Maximum length: 1
malloc_count ### exiting, total: 27861, peak: 21208, current: 1024
21208
d = 1
N = 3 bytes
sizeof(int) = 4 bytes
SACAK_LYNDON 9n (linear)
TOTAL:
CLOCK = 0.000032 TIME = 0.000000
0.000032
OUTPUT:
dataset/example2.txt.pos
Max(LA[0]): 1
Avg(LA[i]): 1.00
Number of Lyndon factors: 3
Average length: 1.00
Maximum length: 1
malloc_count ### exiting, total: 27871, peak: 21208, current: 1024
21208
The text was updated successfully, but these errors were encountered: