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 19, 2024 10:00Matt StuchlikMatt StuchlikScore: 5,725Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:005,68546,098,10716,171,0002,021,0002,289,664
2Jul 19, 2024 10:005,69737,205,22816,206,0002,025,0002,285,568
3Jul 19, 2024 10:005,70341,494,94916,223,0002,027,0002,289,664
4Jul 19, 2024 10:005,70535,740,68516,227,0002,028,0002,273,280
5Jul 19, 2024 10:005,70843,963,78616,237,0002,029,0002,289,664
6Jul 19, 2024 10:005,72140,888,09917,290,0001,017,0002,289,664
7Jul 19, 2024 10:005,72543,288,89016,284,0002,035,0002,289,664
8Jul 19, 2024 10:005,73032,104,51816,298,0002,037,0002,273,280
9Jul 19, 2024 10:005,74540,981,97116,342,0002,042,0002,359,296
10Jul 19, 2024 10:005,90797,116,43618,903,86502,256,896
11Jul 19, 2024 10:005,96094,238,76919,073,29702,179,072
12Jul 19, 2024 10:005,96171,180,64319,076,66602,293,760