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 23, 2024 12:29MatthiasMatthiasScore: 5,121Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 12:295,10341,029,69115,309,0001,020,0002,289,664
2Nov 23, 2024 12:295,11334,240,27314,317,0002,045,0002,523,136
3Nov 23, 2024 12:295,11842,840,72515,353,0001,023,0002,289,664
4Nov 23, 2024 12:295,11939,685,74014,335,0002,047,0002,514,944
5Nov 23, 2024 12:295,12137,058,18214,339,0002,048,0002,265,088
6Nov 23, 2024 12:295,12941,466,71415,387,0001,025,0002,289,664
7Nov 23, 2024 12:295,12939,069,51014,362,0002,051,0002,289,664
8Nov 23, 2024 12:295,13834,601,32515,416,0001,027,0002,269,184
9Nov 23, 2024 12:295,15038,700,33315,451,0001,030,0002,514,944