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 listJan 21, 2024 16:18matsuoka-601matsuoka-601Score: 5,008Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 16:184,94842,288,45413,856,0001,979,0002,285,568
2Jan 21, 2024 16:184,96545,049,87913,902,0001,986,0002,273,280
3Jan 21, 2024 16:184,96837,199,08313,912,0001,987,0002,277,376
4Jan 21, 2024 16:184,98143,090,76513,948,0001,992,0002,269,184
5Jan 21, 2024 16:184,98334,485,13014,949,000996,0002,273,280
6Jan 21, 2024 16:184,98945,029,00112,972,0002,993,0002,531,328
7Jan 21, 2024 16:185,00834,476,69314,021,0002,003,0002,523,136
8Jan 21, 2024 16:185,01343,908,84914,038,0002,005,0002,285,568
9Jan 21, 2024 16:185,02146,306,27315,064,0001,004,0002,285,568
10Jan 21, 2024 16:185,14685,371,89216,467,16702,297,856
11Jan 21, 2024 16:185,24581,102,48116,783,44802,301,952
12Jan 21, 2024 16:185,33368,369,99017,065,78902,301,952