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 11:33matsuoka-601matsuoka-601Score: 5,490Success
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 11:335,46135,077,61617,474,00002,273,280
2Jan 22, 2024 11:335,46633,026,50516,462,0001,028,0002,293,760
3Jan 22, 2024 11:335,46642,026,50817,492,00002,293,760
4Jan 22, 2024 11:335,48233,231,40516,511,0001,031,0002,293,760
5Jan 22, 2024 11:335,48342,576,61116,512,0001,032,0002,379,776
6Jan 22, 2024 11:335,48641,832,16117,555,00002,293,760
7Jan 22, 2024 11:335,49039,410,87816,534,0001,033,0002,293,760
8Jan 22, 2024 11:335,51947,374,99716,623,0001,038,0002,269,184
9Jan 22, 2024 11:335,52443,977,49816,638,0001,039,0002,523,136
10Jan 22, 2024 11:335,62279,238,55217,990,98702,301,952
11Jan 22, 2024 11:335,62577,444,22417,998,87702,301,952
12Jan 22, 2024 11:335,68870,010,46418,201,27502,297,856