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 16:59Robert BurkeRobert BurkeScore: 4,442Success
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 16:594,42334,458,36912,131,0002,021,0002,281,472
2Apr 18, 2024 16:594,43033,693,07012,152,0002,025,0002,445,312
3Apr 18, 2024 16:594,43130,767,93112,153,0002,025,0002,281,472
4Apr 18, 2024 16:594,43527,600,21712,165,0002,027,0002,281,472
5Apr 18, 2024 16:594,43535,785,63512,166,0002,027,0002,445,312
6Apr 18, 2024 16:594,43630,430,65312,168,0002,028,0002,281,472
7Apr 18, 2024 16:594,44238,103,59112,185,0002,030,0002,281,472
8Apr 18, 2024 16:594,44433,595,03212,191,0002,031,0002,441,216
9Apr 18, 2024 16:594,44729,188,73612,197,0002,032,0002,277,376
10Apr 18, 2024 16:594,71284,885,49215,077,02802,203,648
11Apr 18, 2024 16:594,74283,748,76615,173,74902,207,744
12Apr 18, 2024 16:594,74486,413,72715,179,34602,195,456