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 6, 2025 07:18Chandrasekaran AkashChandrasekaran AkashScore: 4,986Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 07:164,95939,738,35013,887,0001,983,0002,445,312
2Apr 6, 2025 07:344,96235,704,20214,886,000992,0002,269,184
3Apr 6, 2025 07:344,96341,921,01213,896,0001,985,0002,445,312
4Apr 6, 2025 07:164,98136,802,12713,946,0001,992,0002,531,328
5Apr 6, 2025 07:344,98631,687,32113,961,0001,994,0002,441,216
6Apr 6, 2025 07:165,00841,494,53914,023,0002,003,0002,437,120
7Apr 6, 2025 07:185,60641,087,48515,947,0001,993,0002,531,328
8Apr 6, 2025 07:185,60838,362,02915,953,0001,994,0002,269,184
9Apr 6, 2025 07:185,67042,928,48417,136,0001,008,0002,445,312