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 listApr 7, 2025 03:21Chandrasekaran AkashChandrasekaran AkashScore: 4,361Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2025 03:214,34731,663,15412,917,000993,0002,277,376
2Apr 7, 2025 03:214,35132,442,81513,923,00002,502,656
3Apr 7, 2025 03:214,35227,635,84312,931,000994,0002,277,376
4Apr 7, 2025 03:214,35832,921,60512,951,000996,0002,506,752
5Apr 7, 2025 03:214,36136,723,52812,958,000996,0002,502,656
6Apr 7, 2025 03:214,37228,333,69611,991,0001,998,0002,506,752
7Apr 7, 2025 03:214,37328,895,88912,993,000999,0002,506,752
8Apr 7, 2025 03:214,39129,726,38612,043,0002,007,0002,277,376
9Apr 7, 2025 03:214,39534,519,38413,061,0001,004,0002,273,280