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, 2023 16:45Alexander MonakovAlexander MonakovScore: 4,948Success
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, 2023 16:454,68837,406,51914,003,0001,000,0002,531,328
2Jun 30, 2023 16:454,69229,822,86514,014,0001,001,0002,486,272
3Jun 30, 2023 16:454,69236,180,95114,014,0001,001,0002,473,984
4Jun 30, 2023 16:454,69230,510,65114,013,0001,000,0002,486,272
5Jun 30, 2023 16:454,70327,780,86113,043,0002,006,0002,269,184
6Jun 30, 2023 16:454,70637,148,92913,051,0002,007,0002,486,272
7Jun 30, 2023 16:454,70840,114,70714,062,0001,004,0002,486,272
8Jun 30, 2023 16:454,89664,414,96915,667,26902,244,608
9Jun 30, 2023 16:454,91392,265,14915,720,10002,240,512
10Jun 30, 2023 16:454,92387,024,56915,752,86602,240,512
11Jun 30, 2023 16:454,92566,448,71115,760,21402,273,280
12Jun 30, 2023 16:454,94181,866,25715,811,19002,244,608
13Jun 30, 2023 16:454,94885,675,34415,834,02602,269,184
14Jun 30, 2023 16:457,40849,002,56915,459,0008,245,0002,277,376
15Jun 30, 2023 16:457,41154,966,89713,404,00010,310,0002,265,088
16Jun 30, 2023 16:457,44647,862,19716,877,0006,949,0002,277,376
17Jun 30, 2023 16:457,45453,658,65917,889,0005,963,0002,277,376
18Jun 30, 2023 16:457,45549,590,52712,922,00010,934,0002,531,328
19Jun 30, 2023 16:457,45548,866,77116,899,0006,958,0002,404,352
20Jun 30, 2023 16:457,45749,643,74013,920,0009,943,0002,531,328
21Jun 30, 2023 16:457,45846,132,99713,922,0009,944,0002,404,352
22Jun 30, 2023 16:457,46049,780,00216,909,0006,962,0002,404,352
23Jun 30, 2023 16:457,46247,869,07212,934,00010,944,0002,269,184
24Jun 30, 2023 16:457,50850,382,65810,011,00014,016,0002,404,352