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 5, 2025 16:36CountHarebourgCountHarebourgScore: 4,677Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 16:364,65837,929,74312,918,0001,987,0002,289,664
2Apr 5, 2025 16:364,66832,783,70713,941,000995,0002,269,184
3Apr 5, 2025 16:364,66834,462,51612,946,0001,991,0002,289,664
4Apr 5, 2025 16:364,67041,645,75213,949,000996,0002,269,184
5Apr 5, 2025 16:364,67136,935,95213,950,000996,0002,289,664
6Apr 5, 2025 16:364,67332,588,41512,959,0001,993,0002,269,184
7Apr 5, 2025 16:364,67433,137,37112,964,0001,994,0002,269,184
8Apr 5, 2025 16:364,67732,060,02213,968,000997,0002,273,280
9Apr 5, 2025 16:364,68129,762,10812,983,0001,997,0002,531,328
10Apr 5, 2025 16:364,69031,431,90513,007,0002,001,0002,408,448
11Apr 5, 2025 16:364,69132,069,48013,010,0002,001,0002,281,472
12Apr 5, 2025 16:364,69334,682,81414,017,0001,001,0002,277,376
13Apr 5, 2025 16:364,69731,040,30713,027,0002,004,0002,269,184
14Apr 5, 2025 16:364,70332,129,83613,042,0002,006,0002,273,280
15Apr 5, 2025 16:364,71741,893,26913,082,0002,012,0002,523,136