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 listJul 11, 2023 01:54Giga BowserGiga BowserScore: 5,490Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 11, 2023 01:545,44834,214,40116,409,0001,025,0002,289,664
2Jul 11, 2023 01:545,46435,474,73416,458,0001,028,0002,289,664
3Jul 11, 2023 01:545,46838,825,59416,467,0001,029,0002,289,664
4Jul 11, 2023 01:545,48138,728,58216,509,0001,031,0002,269,184
5Jul 11, 2023 01:545,48235,879,44016,510,0001,031,0002,289,664
6Jul 11, 2023 01:545,48738,455,45316,526,0001,032,0002,289,664
7Jul 11, 2023 01:545,49041,599,25716,534,0001,033,0002,273,280
8Jul 11, 2023 01:545,50147,536,62016,567,0001,035,0002,289,664
9Jul 11, 2023 01:545,50234,125,85517,605,00002,531,328
10Jul 11, 2023 01:545,67379,111,24918,154,30102,297,856
11Jul 11, 2023 01:545,67679,936,52618,163,15502,285,568
12Jul 11, 2023 01:545,71969,433,36718,300,34402,293,760