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 14:18Arnav AggarwalArnav AggarwalScore: 5,750Success
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 14:185,70643,443,78314,201,0004,057,0002,428,928
2Apr 6, 2025 14:185,70945,652,11116,240,0002,030,0002,420,736
3Apr 6, 2025 14:185,72743,246,23715,272,0003,054,0002,347,008
4Apr 6, 2025 14:185,72753,590,90114,254,0004,072,0002,363,392
5Apr 6, 2025 14:185,75044,484,42316,357,0002,044,0002,347,008
6Apr 6, 2025 14:185,75546,759,54616,369,0002,046,0002,433,024
7Apr 6, 2025 14:185,75752,953,96616,375,0002,046,0002,428,928
8Apr 6, 2025 14:185,76742,922,40918,453,00002,424,832
9Apr 6, 2025 14:185,77843,998,65116,436,0002,054,0002,404,352