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:27lukostlukostScore: 4,961Success
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,91247,675,70514,671,0001,047,0002,277,376
2Apr 26, 2025 20:374,94531,702,01213,846,0001,978,0002,539,520
3Apr 27, 2025 15:444,94841,801,42815,835,00002,445,312
4Apr 26, 2025 20:374,95831,219,47413,884,0001,983,0002,539,520
5Apr 26, 2025 21:424,95928,474,10013,886,0001,983,0002,539,520
6Apr 26, 2025 21:424,96041,116,30514,880,000992,0002,449,408
7Apr 26, 2025 21:424,96141,811,78913,892,0001,984,0002,277,376
8Apr 26, 2025 21:424,96146,919,84413,890,0001,984,0002,539,520
9Apr 26, 2025 21:274,96135,966,36114,884,000992,0002,539,520
10Apr 27, 2025 15:364,96131,956,29413,891,0001,984,0002,441,216
11Apr 27, 2025 15:444,96141,062,13013,890,0001,984,0002,277,376
12Apr 27, 2025 15:364,96241,127,03214,886,000992,0002,539,520
13Apr 26, 2025 21:424,96344,807,43114,888,000992,0002,277,376
14Apr 26, 2025 21:274,96342,320,84813,896,0001,985,0002,539,520
15Apr 26, 2025 21:424,96338,026,84714,888,000992,0002,539,520
16Apr 27, 2025 15:444,96336,237,13214,888,000992,0002,531,328
17Apr 26, 2025 20:374,96931,440,61013,913,0001,987,0002,539,520
18Apr 26, 2025 21:274,97136,255,86413,919,0001,988,0002,531,328