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 15:03Chandrasekaran AkashChandrasekaran AkashScore: 4,363Success
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 16:064,33636,848,11412,883,000991,0002,506,752
2Apr 6, 2025 16:064,33933,363,41312,895,000991,0002,277,376
3Apr 6, 2025 16:064,35031,340,96213,921,00002,502,656
4Apr 6, 2025 16:064,35235,119,76212,931,000994,0002,502,656
5Apr 6, 2025 15:034,35429,430,70812,937,000995,0002,535,424
6Apr 6, 2025 16:064,36132,043,75412,958,000996,0002,502,656
7Apr 6, 2025 15:034,36328,230,57412,966,000997,0002,506,752
8Apr 6, 2025 16:064,36531,480,94412,972,000997,0002,277,376
9Apr 6, 2025 16:064,36933,642,65512,983,000998,0002,506,752
10Apr 6, 2025 16:064,37125,888,68412,987,000999,0002,502,656
11Apr 6, 2025 16:064,37133,867,70012,988,000999,0002,506,752
12Apr 6, 2025 15:034,38030,262,06314,016,00002,510,848