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 09:49Alexander KosachevAlexander KosachevScore: 4,696Success
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 09:494,66230,863,33212,929,0001,989,0002,510,848
2Nov 6, 2024 09:494,66634,949,52113,937,000995,0002,289,664
3Nov 6, 2024 09:494,68229,849,14912,984,0001,997,0002,273,280
4Nov 6, 2024 09:494,69343,889,01613,017,0002,002,0002,273,280
5Nov 6, 2024 09:494,69640,139,61413,024,0002,003,0002,289,664
6Nov 6, 2024 09:494,69835,295,16613,030,0002,004,0002,523,136
7Nov 6, 2024 09:494,69935,352,60513,033,0002,005,0002,539,520
8Nov 6, 2024 09:494,70342,758,82113,043,0002,006,0002,273,280
9Nov 6, 2024 09:494,96746,192,34113,908,0001,986,0002,535,424