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 listJun 9, 2024 20:31джулисджулисScore: 5,319Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 20:315,27343,525,81814,888,0001,985,0002,367,488
2Jun 9, 2024 20:315,29343,332,62415,940,000996,0002,367,488
3Jun 9, 2024 20:315,29945,842,60314,963,0001,995,0002,293,760
4Jun 9, 2024 20:315,30134,758,28714,968,0001,995,0002,375,680
5Jun 9, 2024 20:315,31652,691,19816,010,0001,000,0002,293,760
6Jun 9, 2024 20:315,31836,977,46216,018,0001,001,0002,482,176
7Jun 9, 2024 20:315,31932,564,66015,019,0002,002,0002,293,760
8Jun 9, 2024 20:315,33641,848,95316,071,0001,004,0002,363,392
9Jun 9, 2024 20:315,34141,552,80915,081,0002,010,0002,293,760
10Jun 9, 2024 20:315,53478,422,60917,707,56202,252,800
11Jun 9, 2024 20:315,56477,527,44017,803,96702,244,608
12Jun 9, 2024 20:315,73168,416,19618,337,68902,244,608