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 20, 2021 19:24Andrey TsvetkovAndrey TsvetkovScore: 5,699Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 19:245,65842,187,91315,087,0003,017,0002,531,328
2Jun 20, 2021 19:245,67139,540,77216,132,0002,016,0002,523,136
3Jun 20, 2021 19:245,67346,211,80316,136,0002,017,0002,523,136
4Jun 20, 2021 19:245,67744,191,83216,149,0002,018,0002,334,720
5Jun 20, 2021 19:245,67745,694,91916,149,0002,018,0002,334,720
6Jun 20, 2021 19:245,68243,249,56216,162,0002,020,0002,334,720
7Jun 20, 2021 19:245,68645,045,94116,173,0002,021,0002,334,720
8Jun 20, 2021 19:245,68844,353,00616,180,0002,022,0002,527,232
9Jun 20, 2021 19:245,68942,947,60015,171,0003,034,0002,523,136
10Jun 20, 2021 19:245,69237,541,57016,191,0002,023,0002,334,720
11Jun 20, 2021 19:245,69737,249,42615,192,0003,038,0002,531,328
12Jun 20, 2021 19:245,69940,104,65516,210,0002,026,0002,334,720
13Jun 20, 2021 19:245,69935,666,48116,210,0002,026,0002,334,720
14Jun 20, 2021 19:245,70041,381,51517,227,0001,013,0002,527,232
15Jun 20, 2021 19:245,70536,860,24016,229,0002,028,0002,392,064
16Jun 20, 2021 19:245,71241,638,20516,247,0002,030,0002,527,232
17Jun 20, 2021 19:245,71937,714,74316,267,0002,033,0002,531,328
18Jun 20, 2021 19:245,73784,228,03818,359,34302,232,320
19Jun 20, 2021 19:245,74641,199,00315,324,0003,064,0002,334,720
20Jun 20, 2021 19:245,77984,654,11118,492,69602,236,416
21Jun 20, 2021 19:245,80379,237,59118,570,90602,224,128
22Jun 20, 2021 19:245,80492,200,54718,573,99102,232,320
23Jun 20, 2021 19:245,86477,340,53018,765,11602,236,416
24Jun 20, 2021 19:245,90585,639,44318,896,95002,240,512