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 23, 2021 12:46Emin GhulievEmin GhulievScore: 2,531,248Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2021 12:462,531,2158,164,382,9148,099,888,59602,256,896
2Jul 23, 2021 12:462,531,2488,168,076,7588,099,994,08802,256,896
3Jul 23, 2021 12:462,872,9779,257,302,9509,193,526,32002,252,800