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 listMar 16, 2023 01:07Alexander MonakovAlexander MonakovScore: 5,121Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 01:075,06131,780,53514,172,0002,024,0002,281,472
2Mar 16, 2023 01:075,07432,631,46314,209,0002,029,0002,453,504
3Mar 16, 2023 01:075,08036,793,75914,225,0002,032,0002,281,472
4Mar 16, 2023 01:075,08330,285,25514,234,0002,033,0002,453,504
5Mar 16, 2023 01:075,09336,357,23215,278,0001,018,0002,281,472
6Mar 16, 2023 01:075,09733,624,52815,291,0001,019,0002,281,472
7Mar 16, 2023 01:075,12136,210,33315,363,0001,024,0002,453,504
8Mar 16, 2023 01:075,12636,601,08115,377,0001,025,0002,457,600
9Mar 16, 2023 01:075,15338,836,77715,461,0001,030,0002,453,504
10Mar 16, 2023 01:075,30297,521,67816,965,49702,211,840
11Mar 16, 2023 01:075,30980,156,62616,989,88402,203,648
12Mar 16, 2023 01:075,33675,695,50017,076,61102,207,744