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 listNov 6, 2024 00:23Sergey SpiridonovSergey SpiridonovScore: 16,255Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 00:2315,65977,826,02324,052,00026,056,0002,523,136
2Nov 6, 2024 00:2315,69079,373,76722,092,00028,117,0002,281,472
3Nov 6, 2024 00:2315,73471,878,46722,153,00028,195,0002,379,776
4Nov 6, 2024 00:2315,77475,118,15921,200,00029,276,0002,281,472
5Nov 6, 2024 00:2316,25575,565,85222,007,00030,010,0002,289,664
6Nov 6, 2024 00:2316,34676,294,36624,141,00028,165,0002,277,376
7Nov 6, 2024 00:2316,39983,338,05923,211,00029,266,0002,289,664
8Nov 6, 2024 00:2316,45482,079,23326,326,00026,326,0002,289,664
9Nov 6, 2024 00:2316,52478,106,68421,949,00030,929,0002,289,664