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 listJul 3, 2021 23:05Vitaliy F.Vitaliy F.Score: 6,026Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2021 22:045,99144,475,70217,153,0002,018,0002,334,720
2Jul 4, 2021 22:045,99241,925,94716,148,0003,027,0002,457,600
3Jul 3, 2021 23:055,99443,075,69016,152,0003,028,0002,445,312
4Jul 3, 2021 23:055,99738,729,01618,180,0001,010,0002,334,720
5Jul 3, 2021 23:056,00045,083,92817,179,0002,021,0002,314,240
6Jul 3, 2021 23:056,00150,096,15316,172,0003,032,0002,465,792
7Jul 4, 2021 22:046,00338,171,64817,189,0002,022,0002,453,504
8Jul 4, 2021 22:046,00638,600,15217,197,0002,023,0002,453,504
9Jul 4, 2021 22:046,01141,640,19918,223,0001,012,0002,334,720
10Jul 3, 2021 23:056,01243,398,75617,213,0002,025,0002,334,720
11Jul 3, 2021 23:056,01341,018,64717,216,0002,025,0002,334,720
12Jul 3, 2021 23:056,02481,539,22119,276,62602,293,760
13Jul 4, 2021 22:046,02639,720,75216,238,0003,044,0002,334,720
14Jul 3, 2021 23:056,02644,904,52716,238,0003,044,0002,334,720
15Jul 4, 2021 22:046,03292,809,27519,301,47102,293,760
16Jul 3, 2021 23:056,03642,535,48217,281,0002,033,0002,457,600
17Jul 4, 2021 22:046,04350,840,05018,322,0001,017,0002,457,600
18Jul 3, 2021 23:056,04742,300,36118,332,0001,018,0002,449,408
19Jul 4, 2021 22:046,04878,430,18319,353,09902,301,952
20Jul 4, 2021 22:046,04942,947,39316,300,0003,056,0002,334,720
21Jul 3, 2021 23:056,050100,517,45919,359,13402,297,856
22Jul 4, 2021 22:046,07843,098,23018,425,0001,023,0002,334,720
23Jul 4, 2021 22:046,08179,987,76719,457,93702,301,952
24Jul 3, 2021 23:056,10161,838,66019,523,94502,174,976