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 listJun 30, 2024 11:45AnSaAnSaScore: 8,143Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 11:455,53381,438,97617,704,82402,240,512
2Jun 30, 2024 11:455,55472,420,30717,773,96702,248,704
3Jun 30, 2024 11:455,55685,170,11417,780,26102,248,704
4Jun 30, 2024 11:455,56199,268,09417,795,62702,244,608
5Jun 30, 2024 11:455,57587,581,58117,840,16002,252,800
6Jun 30, 2024 11:455,58077,155,02317,857,27002,379,776
7Jun 30, 2024 11:458,12250,786,66619,993,0005,998,0002,285,568
8Jun 30, 2024 11:458,12550,317,00421,000,0005,000,0002,363,392
9Jun 30, 2024 11:458,13552,492,04016,020,00010,012,0002,338,816
10Jun 30, 2024 11:458,13655,746,83114,019,00012,017,0002,387,968
11Jun 30, 2024 11:458,13652,461,95018,025,0008,011,0002,408,448
12Jun 30, 2024 11:458,13744,790,68120,029,0006,008,0002,383,872
13Jun 30, 2024 11:458,14347,044,58917,037,0009,020,0002,277,376
14Jun 30, 2024 11:458,15351,392,99720,070,0006,021,0002,478,080
15Jun 30, 2024 11:458,15445,771,85614,050,00012,042,0002,383,872
16Jun 30, 2024 11:458,15753,148,32219,074,0007,027,0002,363,392
17Jun 30, 2024 11:458,15849,285,95614,057,00012,048,0002,383,872
18Jun 30, 2024 11:458,16050,253,43820,087,0006,026,0002,338,816
19Jun 30, 2024 11:458,16545,479,91320,098,0006,029,0002,318,336
20Jun 30, 2024 11:458,16844,689,30017,091,0009,048,0002,281,472
21Jun 30, 2024 11:458,17849,812,30620,131,0006,039,0002,285,568
22Jun 30, 2024 11:458,20447,029,63119,186,0007,068,0002,363,392
23Jun 30, 2024 11:458,23248,899,46817,223,0009,118,0002,383,872
24Jun 30, 2024 11:458,27749,054,81318,337,0008,149,0002,473,984