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 26, 2024 20:47Andrey LikhachevAndrey LikhachevScore: 4,669Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 14, 2024 04:374,64834,348,63013,881,000991,0002,371,584
2Jun 14, 2024 04:374,65130,968,50312,899,0001,984,0002,289,664
3Jun 14, 2024 04:374,65131,190,92712,899,0001,984,0002,375,680
4Jun 26, 2024 20:474,65131,686,48012,900,0001,984,0002,289,664
5Jun 26, 2024 20:474,65132,028,75212,899,0001,984,0002,375,680
6Jun 26, 2024 20:474,65243,841,49413,895,000992,0002,363,392
7Jun 26, 2024 20:474,65330,869,03612,904,0001,985,0002,367,488
8Jun 14, 2024 04:374,65446,922,05112,907,0001,985,0002,367,488
9Jun 14, 2024 04:374,65735,341,90113,908,000993,0002,375,680
10Jun 14, 2024 04:374,65734,151,64613,910,000993,0002,289,664
11Jun 26, 2024 20:474,66531,080,94112,937,0001,990,0002,289,664
12Jun 26, 2024 20:474,66535,186,00812,938,0001,990,0002,289,664
13Jun 26, 2024 20:474,66927,980,48012,950,0001,992,0002,379,776
14Jun 14, 2024 04:374,67330,884,17513,957,000996,0002,367,488
15Jun 14, 2024 04:374,67942,020,30313,976,000998,0002,375,680
16Jun 26, 2024 20:474,68332,653,09713,988,000999,0002,375,680
17Jun 14, 2024 04:374,68448,706,71412,992,0001,998,0002,379,776
18Jun 26, 2024 20:474,69141,086,23413,009,0002,001,0002,465,792
19Jun 14, 2024 04:374,90468,942,47115,692,54902,236,416
20Jun 14, 2024 04:374,91992,156,74315,740,85902,240,512
21Jun 14, 2024 04:374,92096,259,87815,744,74702,240,512
22Jun 26, 2024 20:474,92172,442,70115,748,22002,240,512
23Jun 26, 2024 20:474,92163,779,21815,746,19302,236,416
24Jun 26, 2024 20:474,92967,463,77415,773,28702,240,512