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 listJul 25, 2024 16:10Yuriy LyfenkoYuriy LyfenkoScore: 4,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 16:104,442539,446,90612,183,0002,030,0002,265,088
2Jul 25, 2024 16:104,458541,824,63413,246,0001,018,0002,387,968
3Jul 25, 2024 16:104,463535,509,17813,261,0001,020,0002,523,136
4Jul 25, 2024 16:104,467536,060,59913,273,0001,021,0002,523,136
5Jul 25, 2024 16:104,477539,916,10913,302,0001,023,0002,396,160
6Jul 25, 2024 16:104,479539,202,98114,334,00002,527,232
7Jul 25, 2024 16:104,481536,659,66114,340,00002,523,136
8Jul 25, 2024 16:104,486537,776,51013,331,0001,025,0002,523,136
9Jul 25, 2024 16:104,504533,583,19514,412,00002,396,160
10Jul 25, 2024 16:104,669580,622,62114,939,92202,244,608
11Jul 25, 2024 16:104,676579,633,75814,962,63502,285,568
12Jul 25, 2024 16:104,709577,940,46815,067,93702,281,472