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:15Alexander MonakovAlexander MonakovScore: 5,275Success
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:155,23133,987,86815,692,0001,046,0002,281,472
2Mar 16, 2023 01:155,26431,855,24614,864,0001,981,0002,457,600
3Mar 16, 2023 01:155,27341,904,98814,889,0001,985,0002,449,408
4Mar 16, 2023 01:155,27443,750,21915,885,000992,0002,445,312
5Mar 16, 2023 01:155,27434,698,22114,892,0001,985,0002,277,376
6Mar 16, 2023 01:155,27546,284,31714,894,0001,985,0002,281,472
7Mar 16, 2023 01:155,27536,166,98414,894,0001,985,0002,449,408
8Mar 16, 2023 01:155,27636,333,54915,889,000993,0002,449,408
9Mar 16, 2023 01:155,27946,473,41415,900,000993,0002,449,408
10Mar 16, 2023 01:155,42962,024,98417,372,05502,199,552
11Mar 16, 2023 01:155,43070,830,85717,377,35602,203,648
12Mar 16, 2023 01:155,45281,305,82417,447,88702,207,744