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 13, 2024 19:28kytanskytansScore: 5,499Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2024 19:285,47340,289,28716,482,0001,030,0002,277,376
2Jul 13, 2024 19:285,47438,978,48816,487,0001,030,0002,293,760
3Jul 13, 2024 19:285,48541,023,78217,551,00002,281,472
4Jul 13, 2024 19:285,48538,458,77716,519,0001,032,0002,269,184
5Jul 13, 2024 19:285,48939,960,03016,531,0001,033,0002,293,760
6Jul 13, 2024 19:285,49738,991,68816,555,0001,034,0002,293,760
7Jul 13, 2024 19:285,49937,260,80416,562,0001,035,0002,293,760
8Jul 13, 2024 19:285,51443,320,91417,644,00002,375,680
9Jul 13, 2024 19:285,52344,308,56617,674,00002,293,760
10Jul 13, 2024 19:285,66982,683,98318,141,99102,293,760
11Jul 13, 2024 19:285,69468,334,35818,220,62502,289,664
12Jul 13, 2024 19:285,70763,503,96518,261,11802,297,856