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 listDec 3, 2023 13:47Yuriy LyfenkoYuriy LyfenkoScore: 7,462Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 3, 2023 13:476,22290,182,49019,910,96302,277,376
2Dec 3, 2023 13:476,24393,647,18119,978,66702,269,184
3Dec 3, 2023 13:476,27073,958,03920,064,83402,273,280
4Dec 3, 2023 13:477,13449,737,33820,844,0001,985,0002,527,232
5Dec 3, 2023 13:477,20450,937,45020,046,0003,006,0002,539,520
6Dec 3, 2023 13:477,45450,005,26421,865,0001,987,0002,449,408
7Dec 3, 2023 13:477,46249,770,96221,802,0002,076,0002,551,808
8Dec 3, 2023 13:477,46354,166,07220,896,0002,985,0002,547,712
9Dec 3, 2023 13:477,47351,600,41920,925,0002,989,0002,457,600
10Dec 3, 2023 13:477,49550,498,10621,987,0001,998,0002,551,808
11Dec 3, 2023 13:477,52452,949,45922,072,0002,006,0002,519,040
12Dec 3, 2023 13:4715,08674,499,23546,265,0002,011,0002,461,696