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 26, 2025 21:44lukostlukostScore: 4,960Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 15:364,94930,164,41114,847,000989,0002,449,408
2Apr 27, 2025 15:364,95831,102,71713,881,0001,983,0002,449,408
3Apr 27, 2025 15:364,95841,584,27414,876,000991,0002,277,376
4Apr 27, 2025 15:364,95932,289,01413,885,0001,983,0002,449,408
5Apr 27, 2025 15:364,95942,273,70514,877,000991,0002,445,312
6Apr 27, 2025 15:364,95943,548,64013,887,0001,983,0002,441,216
7Apr 27, 2025 15:364,96044,082,58613,888,0001,984,0002,445,312
8Apr 26, 2025 21:444,96139,276,60813,891,0001,984,0002,539,520
9Apr 26, 2025 21:444,96337,939,35314,822,0001,058,0002,441,216
10Apr 26, 2025 21:444,96338,444,11813,898,0001,985,0002,539,520
11Apr 27, 2025 15:364,96341,309,20714,889,000992,0002,277,376
12Apr 27, 2025 15:364,97430,849,41513,929,0001,989,0002,539,520