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 13:18Huy Duc LeHuy Duc LeScore: 4,957Success
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 13:184,89141,702,55514,608,0001,043,0002,273,280
2Feb 22, 2024 13:184,89833,967,12814,628,0001,044,0002,375,680
3Feb 22, 2024 13:184,90444,517,78214,648,0001,046,0002,289,664
4Feb 22, 2024 13:184,90741,465,43014,656,0001,046,0002,289,664
5Feb 22, 2024 13:184,90933,614,73515,708,00002,273,280
6Feb 22, 2024 13:184,95640,880,96913,876,0001,982,0002,531,328
7Feb 22, 2024 13:184,95736,921,24114,871,000991,0002,289,664
8Feb 22, 2024 13:184,95745,847,60115,863,00002,289,664
9Feb 22, 2024 13:184,96041,424,80915,872,00002,289,664
10Feb 22, 2024 13:185,11079,886,69016,350,63002,297,856
11Feb 22, 2024 13:185,12686,736,18516,402,90002,301,952
12Feb 22, 2024 13:185,14367,944,78116,457,15102,301,952