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 listJan 22, 2024 09:17Alexander MonakovAlexander MonakovScore: 4,676Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:174,65431,536,22114,894,00002,535,424
2Jan 22, 2024 09:174,65731,003,80713,908,000993,0002,277,376
3Jan 22, 2024 09:174,65834,679,22113,913,000993,0002,494,464
4Jan 22, 2024 09:174,66328,901,01513,927,000994,0002,277,376
5Jan 22, 2024 09:174,67235,287,45413,954,000996,0002,277,376
6Jan 22, 2024 09:174,67431,752,78913,959,000997,0002,273,280
7Jan 22, 2024 09:174,67634,710,59513,965,000997,0002,494,464
8Jan 22, 2024 09:174,68446,772,40612,990,0001,998,0002,498,560
9Jan 22, 2024 09:174,81230,629,79614,373,0001,026,0002,281,472
10Jan 22, 2024 09:174,92973,502,91115,773,26502,244,608
11Jan 22, 2024 09:174,93289,535,39615,781,95502,252,800
12Jan 22, 2024 09:174,94081,396,66515,807,37802,244,608