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 listApr 18, 2024 19:33Robert BurkeRobert BurkeScore: 4,413Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:334,39226,316,80012,047,0002,007,0002,445,312
2Apr 18, 2024 19:334,39431,338,70912,052,0002,008,0002,445,312
3Apr 18, 2024 19:334,40229,979,62912,075,0002,012,0002,281,472
4Apr 18, 2024 19:334,40728,260,23812,089,0002,014,0002,281,472
5Apr 18, 2024 19:334,40733,702,34212,089,0002,014,0002,281,472
6Apr 18, 2024 19:334,41029,436,41812,097,0002,016,0002,445,312
7Apr 18, 2024 19:334,41333,026,92912,105,0002,017,0002,449,408
8Apr 18, 2024 19:334,42029,215,45112,124,0002,020,0002,535,424
9Apr 18, 2024 19:334,42134,721,46112,127,0002,021,0002,445,312
10Apr 18, 2024 19:334,69795,194,90015,029,86202,203,648
11Apr 18, 2024 19:334,69773,849,37715,029,04302,215,936
12Apr 18, 2024 19:334,71581,313,90415,088,34102,203,648