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 listAug 18, 2024 21:57zielajzielajScore: 4,186Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 18, 2024 21:574,14930,596,27212,255,0001,021,0002,531,328
2Aug 18, 2024 21:574,15125,448,00012,263,0001,021,0002,269,184
3Aug 18, 2024 21:574,16529,779,26313,329,00002,498,560
4Aug 18, 2024 21:574,16730,880,14513,333,00002,269,184
5Aug 18, 2024 21:574,18028,649,21812,347,0001,028,0002,498,560
6Aug 18, 2024 21:574,18131,324,28013,378,00002,531,328
7Aug 18, 2024 21:574,18628,966,79813,394,00002,494,464
8Aug 18, 2024 21:574,19525,851,65312,391,0001,032,0002,531,328
9Aug 18, 2024 21:574,28342,560,26912,650,0001,054,0002,494,464
10Aug 18, 2024 21:574,44192,711,79214,212,21402,232,320
11Aug 18, 2024 21:574,46569,418,71214,288,53502,363,392
12Aug 18, 2024 21:574,67184,870,70314,947,37602,367,488