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 18, 2024 17:09Robert BurkeRobert BurkeScore: 4,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 17:094,42738,053,08912,142,0002,023,0002,445,312
2Apr 18, 2024 17:094,43136,760,30212,153,0002,025,0002,281,472
3Apr 18, 2024 17:094,43630,346,94812,168,0002,028,0002,281,472
4Apr 18, 2024 17:094,43729,774,88013,185,0001,014,0002,281,472
5Apr 18, 2024 17:094,44032,429,07812,178,0002,029,0002,281,472
6Apr 18, 2024 17:094,44033,648,55412,179,0002,029,0002,453,504
7Apr 18, 2024 17:094,44830,272,95212,201,0002,033,0002,441,216
8Apr 18, 2024 17:094,44833,769,99612,202,0002,033,0002,281,472
9Apr 18, 2024 17:094,45933,787,07312,231,0002,038,0002,449,408
10Apr 18, 2024 17:094,72782,161,50515,125,33302,199,552
11Apr 18, 2024 17:094,74689,160,13715,188,24802,211,840
12Apr 18, 2024 17:094,75059,651,53115,198,90902,199,552