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 listFeb 22, 2024 12:52Huy Duc LeHuy Duc LeScore: 5,143Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:525,10038,837,89614,280,0002,040,0002,269,184
2Feb 22, 2024 12:525,11038,646,33714,309,0002,044,0002,293,760
3Feb 22, 2024 12:525,11736,987,64315,352,0001,023,0002,273,280
4Feb 22, 2024 12:525,12341,239,14914,345,0002,049,0002,293,760
5Feb 22, 2024 12:525,12435,720,78115,372,0001,024,0002,293,760
6Feb 22, 2024 12:525,12546,298,63514,351,0002,050,0002,293,760
7Feb 22, 2024 12:525,14335,380,20015,431,0001,028,0002,293,760
8Feb 22, 2024 12:525,15031,622,39315,450,0001,030,0002,293,760
9Feb 22, 2024 12:525,17143,849,29216,546,00002,293,760
10Feb 22, 2024 12:525,33676,766,18417,073,67902,297,856
11Feb 22, 2024 12:525,33762,741,15817,079,72602,306,048
12Feb 22, 2024 12:525,34383,387,66917,098,80502,297,856