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 28, 2025 21:46lukostlukostScore: 4,467Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 21:464,42334,680,04512,132,0002,022,0002,441,216
2Apr 28, 2025 21:464,43129,578,11012,155,0002,025,0002,539,520
3Apr 28, 2025 21:464,44434,370,89912,189,0002,031,0002,449,408
4Apr 28, 2025 21:464,46035,737,36013,253,0001,019,0002,449,408
5Apr 28, 2025 21:464,46729,452,16313,273,0001,021,0002,449,408
6Apr 28, 2025 21:464,46834,041,84012,256,0002,042,0002,441,216
7Apr 28, 2025 21:464,47331,358,74713,292,0001,022,0002,539,520
8Apr 28, 2025 21:464,48034,524,61713,313,0001,024,0002,277,376
9Apr 28, 2025 21:464,48231,867,70013,319,0001,024,0002,441,216