Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 28, 2021 21:12Yuriy LyfenkoYuriy LyfenkoScore: 5,440Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 21:125,39441,860,16715,230,0002,030,0002,289,664
2May 28, 2021 21:125,41035,700,14416,295,0001,018,0002,273,280
3May 28, 2021 21:125,41637,107,31015,292,0002,039,0002,289,664
4May 28, 2021 21:125,42037,657,41915,303,0002,040,0002,289,664
5May 28, 2021 21:125,42346,947,28915,311,0002,041,0002,269,184
6May 28, 2021 21:125,43636,575,28516,371,0001,023,0002,281,472
7May 28, 2021 21:125,44043,515,34416,384,0001,024,0002,281,472
8May 28, 2021 21:125,44946,283,61815,386,0002,051,0002,289,664
9May 28, 2021 21:125,46342,939,85216,455,0001,028,0002,289,664
10May 28, 2021 21:125,58648,178,14117,875,20502,166,784
11May 28, 2021 21:125,60547,695,08317,935,51202,293,760
12May 28, 2021 21:125,65155,800,65118,084,70102,293,760