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2MCk7CgppbnQgZHBbMjAyMF1bMjAyMF07CgpzaWduZWQgbWFpbigpIHsKICAgIGlvczo6c3luY193aXRoX3N0ZGlvKGZhbHNlKTsKICAgIGNpbi50aWUoMCk7CiAgICBjb3V0LnByZWNpc2lvbigxMCk7CiAgICBjb3V0IDw8IGZpeGVkOwoKICAgIGludCBOOwogICAgY2luID4+IE47CiAgICB2aSBBKE4pOwogICAgbWF4X2hlYXA8cGFpcjxpbnQsIGludD4+IHBxOwogICAgcmVwKGksIDAsIE4pIHsKICAgICAgICBjaW4gPj4gQVtpXTsKICAgICAgICBwcS5lbXBsYWNlKEFbaV0sIGkpOwogICAgfQogICAgbWVtc2V0KGRwLCAwLCAyMDIwICogMjAyMCAqIHNpemVvZihkcFswXVswXSkpOwoKICAgIGludCBpID0gMDsKICAgIHdoaWxlICghcHEuZW1wdHkoKSkgewogICAgICAgIGF1dG8gcCA9IHBxLnRvcCgpOwogICAgICAgIHBxLnBvcCgpOwogICAgICAgIGludCBpZHggPSBwLnNlY29uZDsKICAgICAgICBpbnQgYSA9IHAuZmlyc3Q7CiAgICAgICAgcmVwKGosIDAsIGkgKyAxKSB7CiAgICAgICAgICAgIGludCBsID0gajsKICAgICAgICAgICAgaW50IHIgPSBpIC0gajsKICAgICAgICAgICAgY2htYXgoZHBbaSArIDFdW2pdLCBkcFtpXVtqXSArIGFicyhOIC0gMSAtIHIgLSBpZHgpICogYSk7CiAgICAgICAgICAgIGNobWF4KGRwW2kgKyAxXVtqICsgMV0sIGRwW2ldW2pdICsgYWJzKGlkeCAtIGwpICogYSk7CiAgICAgICAgfQogICAgICAgIGkrKzsKICAgIH0KCiAgICBpbnQgYW5zID0gMDsKICAgIHJlcChpLCAwLCBOICsgMSkgewogICAgICAgIGNobWF4KGFucywgZHBbTl1baV0pOwogICAgfQogICAgY291dCA8PCBhbnMgPDwgZW5kbDsKICAgIHJldHVybiAwOwp9Cg=="
Project_CodeNet_C++1000/p02709/s395220962
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCiNkZWZpbmUgaW50IGxvbmcgbG9uZwojZGVmaW5lIEFMTCh4KSB4LmJlZ2luKCkseC5lbmQoKQp0eXBlZGVmIHBhaXI8aW50LCBpbnQ+IGlpOwp0eXBlZGVmIHZlY3RvcjxpbnQ+IHZpOwp0eXBlZGVmIHZlY3RvcjxpaT4gdmlpOwojZGVmaW5lIHBiKHgpIHB1c2hfYmFjayh4KQojZGVmaW5lIGViIGVtcGxhY2VfYmFjawojZGVmaW5lIFNPUlQobHMpIHNvcnQobHMuYmVnaW4oKSwgbHMuZW5kKCkpCiNkZWZpbmUgREVTQyhscykgc29ydChscy5yYmVnaW4oKSwgbHMucmVuZCgpKSAKI2RlZmluZSBtcCh4LCB5KSBtYWtlX3BhaXIoeCwgeSkKI2RlZmluZSBJTkYgMTAwMDAwMDAwMAojZGVmaW5lIE1PRCAxMDAwMDAwMDA3CiNkZWZpbmUgRihpLCBhLCBuKSBmb3IoaT1hO2k8bjtpKyspCiNkZWZpbmUgU0koeCkgY2luPj54CiNkZWZpbmUgREkoeCwgeSkgY2luPj54Pj55CiNkZWZpbmUgVEkoeCwgeSwgeikgY2luPj54Pj55Pj56CiNkZWZpbmUgRkkodywgeCwgeSwgeikgY2luPj53Pj54Pj55Pj56CiNkZWZpbmUgU08oeCkgY291dDw8eDw8IlxuIgojZGVmaW5lIERPKHgsIHkpIGNvdXQ8PHg8PCIgIjw8eTw8IlxuIgojZGVmaW5lIFRPKHgsIHksIHopIGNvdXQ8PHg8PCIgIjw8eTw8IiAiPDx6PDwgIlxuIgojZGVmaW5lIEZPKHcsIHgsIHksIHopIGNvdXQ8PHc8PCIgIjw8eD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ICAgIAljb3V0PDxlbmRsPDxlbmRsPDwiVGltZTogIjw8KGZsb2F0KWNsb2NrKCkvQ0xPQ0tTX1BFUl9TRUM8PCIgc2Vjb25kcyI8PGVuZGw7CiAgICAjZW5kaWYKICAgIHJldHVybiAwOwp9Cg=="
Project_CodeNet_C++1000/p02709/s167633864
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKI2RlZmluZSBsbCBsb25nIGxvbmcKI2RlZmluZSBlbmRsICJcbiIKY29uc3QgaW50IE4gPSAyMDAwMDU7CmludCBuOwp2ZWN0b3I8cGFpcjxsbCwgbGw+ID4gdjsKbGwgbWVtb1syMDA1XVsyMDA1XTsKaW50IGFyclsyMDA1XTsKbGwgc29sdmUoIGludCBpLCBpbnQgbCkgewppZiAoaT09bikgewpyZXR1cm4gMExMOwp9CmlmIChtZW1vW2ldW2xdICE9IC0xKSB7CnJldHVybiBtZW1vW2ldW2xdOwp9CmxsIHI9bi0oaS1sKS0xOwogcmV0dXJuIG1lbW9baV1bbF0gPSBtYXgoCiAgICAxTEwgKiB2W2ldLmZpcnN0ICogYWJzKHZbaV0uc2Vjb25kIC0gbCkgKyBzb2x2ZShpKzEsIGwrMSksCiAgICAxTEwgKiB2W2ldLmZpcnN0ICogYWJzKHZbaV0uc2Vjb25kIC0gcikgKyBzb2x2ZShpKzEsIGwpCiAgKTsKIAp9CiAKaW50IG1haW4oKSB7Cmlvc19iYXNlOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpOwpjaW4udGllKE5VTEwpOyBjb3V0LnRpZShOVUxMKTsKY2luID4+IG47Cgpmb3IgKGludCBpID0gMDsgaSA8IG47IGkrKykKY2luID4+IGFycltpXTsKZm9yIChsbCBpID0gMDsgaSA8IG47IGkrKykgewp2LnB1c2hfYmFjayh7YXJyW2ldLCBpfSk7Cn0KbWVtc2V0KG1lbW8sIC0xLCBzaXplb2YgbWVtbyk7CnNvcnQodi5iZWdpbigpLCB2LmVuZCgpKTsKcmV2ZXJzZSh2LmJlZ2luKCksIHYuZW5kKCkpOwoKbGwgYW5zPSBzb2x2ZSggMCwgMCk7CmNvdXQ8PGFuczw8ZW5kbDsKcmV0dXJuIDA7CiAKfQ=="
Project_CodeNet_C++1000/p02709/s742978772
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"Ly9JTkNMVURFCi8vLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCiNpbmNsdWRlIDxiaXRzL3N0ZGMrKy5oPgovL0RFRklORQovLy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQojZGVmaW5lIGxsIGxvbmcgbG9uZwojZGVmaW5lIGxkIGxvbmcgZG91YmxlCiNkZWZpbmUgQUxMdihhKSAgKGEpLmJlZ2luKCksKGEpLmVuZCgpCiNkZWZpbmUgQUxMKGEsbikgIChhKSwoYSkrbgojZGVmaW5lIHZpIHZlY3Rvcjxsb25nIGxvbmc+CiNkZWZpbmUgdmQgdmVjdG9yPGxvbmcgZG91YmxlPgojZGVmaW5lIHZzIHZlY3RvcjxzdHJpbmc+Ci8vQ09OU1QKLy8tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KI2RlZmluZSBJTkYgMTAxMDAwMDAwMDAwMDAwMDAxN0xMCiNkZWZpbmUgTU9EIDEwMDAwMDAwMDdMTAojZGVmaW5lIEVQUyAxZS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JFUChsLE4pewogICAgICAgIFJFUChyLE4pewogICAgICAgICAgICBpPWwrcjsKICAgICAgICAgICAgaWYobCtyPT1OKXsKICAgICAgICAgICAgICAgIGFucz1tYXgoYW5zLGRwW2xdW3JdKTsKICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGRwW2wrMV1bcl09bWF4KGRwW2xdW3JdK2Ficyh2W2ldLngtbCkqdltpXS5hY3R2LGRwW2wrMV1bcl0pOwogICAgICAgICAgICBkcFtsXVtyKzFdPW1heChkcFtsXVtyXSthYnModltpXS54LShOLTEtcikpKnZbaV0uYWN0dixkcFtsXVtyKzFdKTsKICAgICAgICB9CiAgICB9CiAgICAKICAgIGNvdXQ8PGFuczw8IlxuIjsKfQ=="
Project_CodeNet_C++1000/p02709/s369891292
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiMgZGVmaW5lIHJlcChpLG4pIGZvcihpbnQgaT0wO2k8KG4pO2krKykKdHlwZWRlZiBsb25nIGxvbmcgbGw7CgppbnQgbWFpbigpewoJY2luLnRpZSgwKTsKICAgCWlvczo6c3luY193aXRoX3N0ZGlvKGZhbHNlKTsKCWxsIE47CiAgICBjaW4+Pk47CiAgICB0eXBlZGVmIHBhaXI8bGwsbGw+IFA7CiAgICB2ZWN0b3I8UD4gQShOKTsKCiAgICByZXAoaSxOKXsKICAgICAgICBsbCBhOwogICAgICAgIGNpbj4+YTsKICAgICAgICBBW2ldID0gUHtpLGF9OwogICAgfQoKICAgIHNvcnQoQS5iZWdpbigpLEEuZW5kKCksW10oUCBwMSwgUCBwMil7cmV0dXJuIHAxLnNlY29uZD5wMi5zZWNvbmQ7fSk7CiAgICAKICAgIGxsIGRwW04rMV1bTisxXSA9IHt9OwogICAgZHBbMF1bMF0gPSAwOwogICAgcmVwKGksTil7CiAgICAgICAgbGwgaW5kLGE7CiAgICAgICAgaW5kID0gQVtpXS5maXJzdCsxOwogICAgICAgIGEgPSBBW2ldLnNlY29uZDsKCiAgICAgICAgcmVwKHgsaSsxKXsKICAgICAgICAgICAgbGwgeSA9IGkteDsKICAgICAgICAgICAgZHBbeCsxXVt5XSA9IG1heChkcFt4KzFdW3ldLGRwW3hdW3ldK2EqKGluZC0oeCsxKSkpOwogICAgICAgICAgICBkcFt4XVt5KzFdID0gbWF4KGRwW3hdW3krMV0sZHBbeF1beV0rYSooKE4tKHktMSkpLShpbmQrMSkpKTsKICAgICAgICB9CiAgICB9CgogICAgbGwgYW5zID0gMDsKICAgIHJlcChpLE4rMSl7CiAgICAgICAgYW5zID0gbWF4KGFucyxkcFtpXVtOLWldKTsKICAgIH0KCiAgICBjb3V0PDxhbnM8PCJcbiI7CiAgICAKCgoKCXJldHVybiAwOwp9"
Project_CodeNet_C++1000/p02709/s095917458
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnR5cGVkZWYgbG9uZyBsb25nIGxsOwp0eXBlZGVmIHZlY3RvcjxsbD4gdmxsOwp0eXBlZGVmIHZlY3Rvcjx2ZWN0b3I8bGw+PiB2dmxsOwp0eXBlZGVmIHZlY3Rvcjx2ZWN0b3I8dmVjdG9yPGxsPj4+IHZ2dmxsOwp0eXBlZGVmIHZlY3Rvcjxib29sPiB2YjsKdHlwZWRlZiB2ZWN0b3I8dmVjdG9yPGJvb2w+PiB2dmI7CnR5cGVkZW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8oZmFsc2UpOyAvLyBjdXQgdGhlIGlvc3RyZWFtIGFuZCBzdGRpbyAoRE9OJ1QgZW5kbDsgQlVUICJcbiI7KQoKICBJTihOKTsKICBBUC5yZXNpemUoTik7CiAgZHAucmVzaXplKE4sIHZsbChOLCAtMSkpOwogIFJFUChpLE4pewogICAgSU4oQVBbaV0uZmlyc3QpOwogICAgQVBbaV0uc2Vjb25kID0gaTsKICB9CgogIHNvcnQoQUxMKEFQKSk7CiAgcmV2ZXJzZShBTEwoQVApKTsKCiAgT1VUKHNlYXJjaCgwLCBOLTEsIDApKTsKCiAgcmV0dXJuIDA7Cn0="
Project_CodeNet_C++1000/p02709/s770830867
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwp1c2luZyBsbCA9IGxvbmcgbG9uZzsKdXNpbmcgdmwgPSB2ZWN0b3I8bGw+Owp1c2luZyBwbGwgPSBwYWlyPGxsLCBsbD47CgojZGVmaW5lIHJlcChpLCBuKSBmb3IgKGxsIGkgPSAwLCB4eHhfcmVwX2VuZCA9IChuKTsgaSA8IHh4eF9yZXBfZW5kOyArK2kpCiNkZWZpbmUgYWxsKHgpICh4KS5iZWdpbigpLCAoeCkuZW5kKCkKCnRlbXBsYXRlIDxjbGFzcyBUMSwgY2xhc3MgVDI+CmlubGluZSBib29sIGNobWF4KFQxICZhLCBjb25zdCBUMiAmYikgewogICAgaWYgKGEgPCBiKSB7CiAgICAgICAgYSA9IGI7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9CiAgICByZXR1cm4gZmFsc2U7Cn0KdGVtcGxhdGUgPGNsYXNzIFQxLCBjbGFzcyBUMj4KaW5saW5lIGJvb2wgY2htaW4oVDEgJmEsIGNvbnN0IFQyICZiKSB7CiAgICBpZiAoYSA+IGIpIHsKICAgICAgICBhID0gYjsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KICAgIHJldHVybiBmYWxzZTsKfQoKY29uc3RleHByIGxsIElORiA9IDB4M2YzZjNmM2YzZjNmM2YzZkxMOwpjb25zdGV4cHIgbGwgbW9kID0gMTAwMDAwMDAwNzsKCmludCBtYWluKCkgewogICAgbGwgTjsKICAgIGNpbiA+PiBOOwogICAgdmVjdG9yPHBsbD4gQShOKTsKCiAgICBmb3IgKGxsIGkgPSAwOyBpIDwgTjsgKytpKSB7CiAgICAgICAgbGwgbnVtOwogICAgICAgIGNpbiA+PiBudW07CiAgICAgICAgQVtpXSA9IG1ha2VfcGFpcihudW0sIGkpOwogICAgfQoKICAgIHNvcnQoYWxsKEEpLCBncmVhdGVyPHBsbD4oKSk7CgogICAgdmVjdG9yPHZlY3RvcjxsbD4+IGRwKE4gKyAxLCB2ZWN0b3I8bGw+KE4gKyAxLCAwKSk7CiAgICBmb3IgKGxsIGkgPSAwOyBpIDwgTjsgKytpKSB7CiAgICAgICAgZm9yIChsbCBqID0gMDsgaiA8PSBpOyArK2opIHsKICAgICAgICAgICAgY2htYXgoZHBbaSArIDFdW2ogKyAxXSwKICAgICAgICAgICAgICAgICAgZHBbaV1bal0gKyBBW2ldLmZpcnN0ICogYWJzKEFbaV0uc2Vjb25kIC0gaikpOwogICAgICAgICAgICBjaG1heChkcFtpICsgMV1bal0sCiAgICAgICAgICAgICAgICAgIGRwW2ldW2pdICsgQVtpXS5maXJzdCAqIGFicyhBW2ldLnNlY29uZCAtIChOIC0gMSAtIChpIC0gaikpKSk7CiAgICAgICAgfQogICAgfQoKICAgIGxsIGFucyA9IDA7CiAgICBmb3IgKGF1dG8gZSA6IGRwW05dKSB7CiAgICAgICAgY2htYXgoYW5zLCBlKTsKICAgIH0KCiAgICBjb3V0IDw8IGFucyA8PCBlbmRsOwp9"
Project_CodeNet_C++1000/p02709/s080847750
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnR5cGVkZWYgcGFpcjxsb25nIGxvbmcsIGludD4gUGFpcjsKY29uc3QgaW50IG1heG4gPSAyMDAwICsgNzsKCmludCBuOwp2ZWN0b3I8UGFpcj4gbzsKbG9uZyBsb25nIGZbbWF4bl1bbWF4bl07Cgpsb25nIGxvbmcgZHAoaW50IHgsIGludCB5KSB7CiAgICBpZiAoeCA+IHkpIHJldHVybiAwOwogICAgaWYgKGZbeF1beV0gIT0gLTEpIHJldHVybiBmW3hdW3ldOwoKICAgIGludCB1ID0geSAtIHg7CiAgICBmW3hdW3ldID0gbWF4KG9bdV0uZmlyc3QgKiBhYnMob1t1XS5zZWNvbmQgLSB4KSArIGRwKHggKyAxLCB5KSwgCiAgICAgICAgICAgICAgICAgIG9bdV0uZmlyc3QgKiBhYnMob1t1XS5zZWNvbmQgLSB5KSArIGRwKHgsIHkgLSAxKSk7CiAgICByZXR1cm4gZlt4XVt5XTsKfQoKaW50IG1haW4oKSB7CiAgICBzY2FuZigiJWQiLCAmbik7CiAgICBmb3IgKGludCBpID0gMSwgdjsgaSA8PSBuOyBpKyspIHsKICAgICAgICBzY2FuZigiJWQiLCAmdik7ICAgIAogICAgICAgIG8ucHVzaF9iYWNrKHt2LCBpfSk7CiAgICB9CgogICAgc29ydChvLmJlZ2luKCksIG8uZW5kKCkpOwogICAgbWVtc2V0KGYsIC0xLCBzaXplb2YoZikpOwoKICAgIGNvdXQgPDwgZHAoMSwgbikgPDwgZW5kbDsKICAgIHJldHVybiAwOwp9Cg=="
Project_CodeNet_C++1000/p02709/s675719948
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KI2RlZmluZSBzeih4KSAoKGludCl4LnNpemUoKSkKI2RlZmluZSBwYiBwdXNoX2JhY2sKI2RlZmluZSBpaSBwYWlyPGludCxpbnQ+CiNkZWZpbmUgcHBiIHBvcF9iYWNrCiNkZWZpbmUgb3J0YSAoKGJhcytzb24pPj4xKQojZGVmaW5lIHN0IGZpcnN0CiNkZWZpbmUgbmQgc2Vjb25kCiNkZWZpbmUgbGwgbG9uZyBsb25nCiNkZWZpbmUgTiAyMDA1CiNkZWZpbmUgaW5mIDEwMDAwMDAwMDAwMDAwMGxsCiNkZWZpbmUgTU9EIDk5ODI0NDM1MwojZGVmaW5lIExPRyAzMQojZGVmaW5lIEVQUyAwLjAwMDAwMDAwMQojZGVmaW5lIE0gMzA1CiNkZWZpbmUgUEkgMy4xNDE1OTI2NTM1OQp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG47CmxsIGRwWzJdW05dOwpsbCBhbnM7CmlpIGFbTl07CgppbnQgbWFpbigpIHsKCglpb3NfYmFzZTo6c3luY193aXRoX3N0ZGlvKDApOwoJY2luLnRpZSgwKTtjb3V0LnRpZSgwKTsKCgljaW4gPj4gbjsKCWZvcihpbnQgaSA9IDA7IGkgPCBuOyBpKyspIHsKCQljaW4gPj4gYVtpXS5zdDsKCQlhW2ldLm5kID0gaSArIDE7Cgl9Cglzb3J0KGEsIGEgKyBuLCBncmVhdGVyPGlpPigpKTsKCWZvcihpbnQgaSA9IDA7IGkgPCBuOyBpKyspIHsKCQlpbnQgY3VyID0gaSAmIDE7CgkJaW50IG54dCA9ICFjdXI7CgkJZmlsbChkcFtueHRdLCBkcFtueHRdICsgbiArIDEsIDApOwoJCWZvcihpbnQgcyA9IDA7IHMgPD0gaTsgcysrKSB7CgkJCWlmKHMgKyAxIDw9IGFbaV0ubmQpIAoJCQkJZHBbbnh0XVtzICsgMV0gPSBtYXgoZHBbbnh0XVtzICsgMV0sIGRwW2N1cl1bc10gKyAobGwpIGFbaV0uc3QgKiAoYVtpXS5uZCAtIChzICsgMSkpKTsKCQkJaWYoYVtpXS5uZCA8PSBuIC0gKGkgLSBzKSkKCQkJCWRwW254dF1bc10gPSBtYXgoZHBbbnh0XVtzXSwgZHBbY3VyXVtzXSArIChsbCkgYVtpXS5zdCAqICgobiAtIChpIC0gcykpIC0gYVtpXS5uZCkpOwoJCX0KCQlhbnMgPSBtYXgoYW5zLCAqbWF4X2VsZW1lbnQoZHBbbnh0XSwgZHBbbnh0XSArIG4gKyAxKSk7Cgl9Cgljb3V0IDw8IGFuczsKCn0="
Project_CodeNet_C++1000/p02709/s221356220
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiNkZWZpbmUgSU9TIGlvc19iYXNlOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpO2Npbi50aWUoMCkKI2RlZmluZSBlbmRsICJcbiI7CiNkZWZpbmUgcGIgcHVzaF9iYWNrCiNkZWZpbmUgZiBmaXJzdAojZGVmaW5lIHMgc2Vjb25kCiNkZWZpbmUgYWxsKGEpIGEuYmVnaW4oKSxhLmVuZCgpCiNkZWZpbmUgaW50IGxvbmcgbG9uZwpjb25zdCBpbnQgTU9EPTFlOSs3Owpjb25zdCBpbnQgTj0yZTMrMTA7CmludCBkcFtOXVtOXTsKdmVjdG9yPHBhaXI8aW50LGludD4gPnY7CmludCBnbyhpbnQgcG9zLGludCBsLGludCByKQp7CiAgICBpZihwb3M9PXYuc2l6ZSgpKQogICAgewogICAgICAgIHJldHVybiAwOwogICAgfQogICAgaW50ICZhbnM9ZHBbbF1bcl07CiAgICBpZihhbnMhPS0xKQogICAgICAgIHJldHVybiBhbnM7CiAgICBhbnM9MDsKICAgIGFucz1tYXgoYW5zLGdvKHBvcysxLGwrMSxyKSt2W3Bvc10uZiphYnModltwb3NdLnMtbCkpOwogICAgYW5zPW1heChhbnMsZ28ocG9zKzEsbCxyLTEpK3ZbcG9zXS5mKmFicyh2W3Bvc10ucy1yKSk7CiAgICByZXR1cm4gYW5zOwoKfQppbnQzMl90IG1haW4oKQp7CiAgICBJT1M7CiAgICBpbnQgbjsKICAgIGNpbj4+bjsKICAgIG1lbXNldChkcCwtMSxzaXplb2YoZHApKTsKICAgIGZvcihpbnQgaT0xO2k8PW47aSsrKQogICAgewogICAgICAgIGludCB4OwogICAgICAgIGNpbj4+eDsKICAgICAgICB2LnBiKHt4LGl9KTsKICAgIH0KICAgIHNvcnQoYWxsKHYpKTsKICAgIHJldmVyc2UoYWxsKHYpKTsKICAgIGNvdXQ8PGdvKDAsMSxuKTw8ZW5kbDsgIAp9"
Project_CodeNet_C++1000/p02709/s333318320
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CiNkZWZpbmUgX292ZXJsb2FkMyhfMSwgXzIsIF8zLCBuYW1lLCAuLi4pIG5hbWUKI2RlZmluZSBfcmVwKGksIG4pIHJlcGkoaSwgMCwgbikKI2RlZmluZSByZXBpKGksIGEsIGIpIGZvciAoaW50IGkgPSAoYSk7IGkgPCAoYik7ICsraSkKI2RlZmluZSByZXAoLi4uKSBfb3ZlcmxvYWQzKF9fVkFfQVJHU19fLCByZ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CBuKQogICAgICAgIHsKICAgICAgICAgICAgaWYgKGkgKyBqID49IG4pCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIGNvbnRpbnVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGNobWF4KGRwW2kgKyAxXVtqXSwgZHBbaV1bal0gKyBsbGFicyhwW2kgKyBqXS5zZWNvbmQgLSBpKSAqIHBbaSArIGpdLmZpcnN0KTsKICAgICAgICAgICAgLy9jb3V0IDw8ICJkcFtpKzFdW2pdOiIgPDwgaSsxIDw8ICIsIiA8PCBqICA8PCAiICI8PCBkcFtpKzFdW2pdIDw8IGVuZGw7CiAgICAgICAgICAgIGNobWF4KGRwW2ldW2ogKyAxXSwgZHBbaV1bal0gKyBsbGFicyhuIC0gMSAtIGogLSBwW2kgKyBqXS5zZWNvbmQpICogcFtpICsgal0uZmlyc3QpOwogICAgICAgICAgICAvL2NvdXQgPDwgImRwW2ldW2orMV06IiA8PCBpIDw8ICIsIiA8PCBqKzEgPDwgIiAiPDwgZHBbaV1baisxXSA8PCBlbmRsOwogICAgICAgIH0KICAgICAgICAvL2NvdXQgPDwgImk6IiA8PCBpIDw8ICLjg6vjg7zjg5fntYLjgo/jgooiIDw8IGVuZGwgPDwgZW5kbDsKICAgIH0KICAgIGxsIGFucyA9IDA7CiAgICByZXAoaSwgbiArIDEpCiAgICB7CiAgICAgIC8vY291dCA8PCAiZHBbXSIgPDwgaSA8PCAiOiIgPDwgZHBbaV1bbi1pXSA8PCBlbmRsOwogICAgICAgIGNobWF4KGFucywgZHBbaV1bbiAtIGldKTsKICAgIH0KICAgIGNvdXQgPDwgYW5zIDw8IGVuZGw7CiAgICByZXR1cm4gMDsKfQo="
Project_CodeNet_C++1000/p02709/s905848490
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000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0KHJhbGwocCkpOyAvL+mZjemghuOBneODvOOBqAogICAgdnZsIGRwKG4rMSx2bChuKzEsLUxfSU5GKSk7CiAgICBkcFswXVswXSA9IDA7CiAgICByZXAoaSxuKSB7CiAgICAgICAgaW50IHBpID0gcFtpXS5zZWNvbmQ7CiAgICAgICAgcmVwKGwsaSsxKSB7CiAgICAgICAgICAgIGludCByID0gaS1sOwogICAgICAgICAgICBjaG1heChkcFtpKzFdW2wrMV0sIGRwW2ldW2xdK2xsKHBpLWwpKmFbcGldKTsKICAgICAgICAgICAgY2htYXgoZHBbaSsxXVtsXSwgZHBbaV1bbF0rbGwoKG4tci0xKS1waSkqYVtwaV0pOwogICAgICAgIH0KICAgIH0KICAgIGxsIGFucyA9IDA7CiAgICByZXAoaSxuKzEpIGNobWF4KGFucywgZHBbbl1baV0pOwogICAgb3V0KGFucyk7Cn0KCg=="
Project_CodeNet_C++1000/p02709/s980644449
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8Y3N0cmluZz4KI2luY2x1ZGUgPHN0YWNrPgojaW5jbHVkZSA8cXVldWU+CiNpbmNsdWRlIDxjY3R5cGU+CiNpbmNsdWRlIDxhbGdvcml0aG0+CiNpbmNsdWRlIDx2ZWN0b3I+CiNpbmNsdWRlIDxtYXA+CiNpbmNsdWRlIDxzZXQ+CiNpbmNsdWRlIDxjbWF0aD4KI2luY2x1ZGUgPHN0ZGxpYi5oPgojaW5jbHVkZSA8dHVwbGU+CiNpbmNsdWRlIDxpb21hbmlwPgojaW5jbHVkZSA8aXRlcmF0b3I+CiNpbmNsdWRlIDxzdGRpby5oPgojaW5jbHVkZSA8ZnN0cmVhbT4KI2luY2x1ZGUgPHRpbWUuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKY29uc3QgZG91YmxlIFBJID0gMy4xNDE1OTI2NTM1ODk3OTMyMzg0NjsKY29uc3QgbG9uZyBsb25nIGludCBNT0QgPSAxMDAwMDAwMDAwICsgNzsKCnN0cnVjdCBVbmlvbkZpbmQgewogICAgdmVjdG9yPGludD4gcGFyZW50OwoKICAgIFVuaW9uRmluZChpbnQgTikgOiBwYXJlbnQoTikgewogICAgICAgIGZvciAoaW50IGkgPSAwOyBpIDwgTjsgaSsrKSB7CiAgICAgICAgICAgIHBhcmVudFtpXSA9IC0xOwogICAgICAgIH0KICAgIH0KCiAgICBpbnQgcm9vdChpbnQgaSkgewogICAgICAgIGlmIChwYXJlbnRbaV0gPCAwKSB7CiAgICAgICAgICAgIHJldHVybiBpOwogICAgICAgIH0KICAgICAgICByZXR1cm4gKHBhcmVudFtpXSA9IHJvb3QocGFyZW50W2ldKSk7CiAgICB9CgogICAgYm9vbCB1bml0ZShpbnQgZnJvbSwgaW50IHRvKSB7CiAgICAgICAgaW50IHJ4ID0gcm9vdChmcm9tKTsKICAgICAgICBpbnQgcnkgPSByb290KHRvKTsKICAgICAgICBpZiAocnggIT0gcnkpIHsKICAgICAgICAgICAgcGFyZW50W3J5XSArPSBwYXJlbnRbcnhdOwogICAgICAgICAgICBwYXJlbnRbcnhdID0gcnk7CgogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CiAgICAgICAgZWxzZSB7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9CiAgICB9CgogICAgYm9vbCBzYW1lKGludCB4LCBpbnQgeSkgewogICAgICAgIHJldHVybiByb290KHgpID09IHJvb3QoeSk7CiAgICB9CgogICAgaW50IHRyZWVTaXplKGludCB4KSB7CgoKICAgICAgICByZXR1cm4gLXBhcmVudFtyb290KHgpXTsKICAgIH0KfTsKCmxvbmcgbG9uZyBpbnQgbW9kcG93KGxvbmcgbG9uZy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mcgTikgewogICAgaWYgKE4gPT0gMSkgewogICAgICAgIHJldHVybiBmYWxzZTsKICAgIH0KICAgIGZvciAobG9uZyBsb25nIGkgPSAyOyBpICogaSA8PSBOOyBpKyspIHsKICAgICAgICBpZiAoTiAlIGkgPT0gMCkgewogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQogICAgfQoKCiAgICByZXR1cm4gdHJ1ZTsKfQoKCgp2ZWN0b3I8cGFpcjxsb25nIGxvbmcsIGxvbmcgbG9uZz4gPiBwcmltZV9mYWN0b3JpemUobG9uZyBsb25nIE4pIHsKICAgIHZlY3RvcjxwYWlyPGxvbmcgbG9uZywgbG9uZyBsb25nPiA+IHJlczsKICAgIGZvciAobG9uZyBsb25nIGEgPSAyOyBhICogYSA8PSBOOyArK2EpIHsKICAgICAgICBpZiAoTiAlIGEgIT0gMCkgY29udGludWU7CiAgICAgICAgbG9uZyBsb25nIGV4ID0gMDsgLy8g5oyH5pWwCgogICAgICAgIC8vIOWJsuOCjOOCi+mZkOOCiuWJsuOCiue2muOBkeOCiwogICAgICAgIHdoaWxlIChOICUgYSA9PSAwKSB7CiAgICAgICAgICAgICsrZXg7CiAgICAgICAgICAgIE4gLz0gYTsKICAgICAgICB9CgogICAgICAgIC8vIOOBneOBrue1kOaenOOCkiBwdXNoCiAgICAgICAgcmVzLnB1c2hfYmFjayh7IGEsIGV4IH0pOwogICAgfQoKICAgIC8vIOacgOW+jOOBq+aui+OBo+OBn+aVsOOBq+OBpOOBhOOBpgogICAgaWYgKE4gIT0gMSkgcmVzLnB1c2hfYmFjayh7IE4sIDEgfSk7CiAgICByZXR1cm4gcmVzOwp9Cgpsb25nIGxvbmcgZXVjbGlkKGxvbmcgbG9uZyBhLCBsb25nIGxvbmcgYikgewogICAgaWYgKGEgPiBiKSB7CiAgICAgICAgbG9uZyBsb25nIHRlbXAgPSBiOwogICAgICAgIGIgPSBhOwogICAgICAgIGEgPSB0ZW1wOwogICAgfQogICAgaWYgKGIgJSBhID09IDApIHsKICAgICAgICByZXR1cm4gYTsKICAgIH0KICAgIGVsc2UgewogICAgICAgIHJldHVybiBldWNsaWQoYSwgYiAtIGEpOwogICAgfQp9Cgpsb25nIGxvbmcgZ2NkKGxvbmcgbG9uZyBhLCBsb25nIGxvbmcgYikgewogICAgaWYgKGIgPiBhKSB7CiAgICAgICAgbG9uZyBsb25nIHRlbXAgPSBiOwogICAgICAgIGIgPSBhOwogICAgICAgIGEgPSB0ZW1wOwogICAgfQogICAgLy9jb3V0IDw8ICJhOiIgPDwgYSA8PCAiYjoiIDw8IGIgPDwgZW5kbDsKICAgIGxvbmcgbG9uZyBjID0gYSAlIGI7CiAgICBpZiAoYyA9PSAwKSB7CiAgICAgICAgcmV0dXJuIGI7CiAgICB9CiAgICBlbHNlIHsKICAgICAgICByZXR1cm4gZ2NkKGIsIGMpOwogICAgfQp9CgoKCgppbnQgbWFpbigpIHsKICAgIGludCBOOwogICAgY2luID4+IE47CiAgICB2ZWN0b3I8cGFpcjxsb25nIGxvbmcsIGxvbmcgbG9uZz4+IEEoTik7CiAgICBmb3IgKGludCBpID0gMDsgaSA8IE47IGkrKykgewogICAgICAgIGxvbmcgbG9uZyB0ZW1wOwogICAgICAgIGNpbiA+PiB0ZW1wOwogICAgICAgIEFbaV0gPSBtYWtlX3BhaXIodGVtcCwgaSk7CiAgICB9CgogICAgc29ydChBLmJlZ2luKCksIEEuZW5kKCksIGdyZWF0ZXI8cGFpcjxsb25nIGxvbmcsIGxvbmcgbG9uZz4+KCkpOwoKCiAgICB2ZWN0b3I8dmVjdG9yPGxvbmcgbG9uZz4+IGRwKE4rMSwgdmVjdG9yPGxvbmcgbG9uZz4oTisxKSk7CiAgICBmb3IgKGludCBpID0gMDsgaSA8IE47IGkrKykgewogICAgICAgIGZvciAoaW50IGogPSAwOyBqIDw9IGk7IGorKykgewogICAgICAgICAgICBpZiAoZHBbaV1bal0gKyBBW2ldLmZpcnN0ICogKEFbaV0uc2Vjb25kIC0gaikgPiBkcFtpICsgMV1baiArIDFdKSB7CiAgICAgICAgICAgICAgICBkcFtpICsgMV1baiArIDFdID0gZHBbaV1bal0gKyBBW2ldLmZpcnN0ICogKEFbaV0uc2Vjb25kIC0gaik7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKGRwW2ldW2pdICsgQVtpXS5maXJzdCAqICgoTi0xKSAtIChpLWopIC0gQVtpXS5zZWNvbmQpID4gZHBbaSArIDFdW2pdKSB7CiAgICAgICAgICAgICAgICBkcFtpICsgMV1bal0gPSBkcFtpXVtqXSArIEFbaV0uZmlyc3QgKiAoKE4gLSAxKSAtIChpIC0gaikgLSBBW2ldLnNlY29uZCk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9CgogICAgbG9uZyBsb25nIGFuc3dlciA9IDA7CiAgICBmb3IgKGludCBpID0gMDsgaSA8PSBOOyBpKyspIHsKICAgICAgICBpZiAoZHBbTl1baV0gPiBhbnN3ZXIpIHsKICAgICAgICAgICAgYW5zd2VyID0gZHBbTl1baV07CiAgICAgICAgfQogICAgICAgIC8vY291dCA8PCBkcFtOXVtpXSA8PCBlbmRsOwogICAgfQoKICAgIGNvdXQgPDwgYW5zd2VyIDw8IGVuZGw7CiAgICByZXR1cm4gMDsKfQ=="
Project_CodeNet_C++1000/p02709/s030492178
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgImJpdHMvc3RkYysrLmgiCiNkZWZpbmUgaW50IGxvbmcgbG9uZwojZGVmaW5lIGVuZGwgJ1xuJwp1c2luZyBuYW1lc3BhY2Ugc3RkOwogCnR5cGVkZWYgbG9uZyBsb25nIGxsOwojZGVmaW5lIGRiKHgpIGNlcnIgPDwgI3ggPDwgIjogIiA8PCB4IDw8ICdcbic7CiNkZWZpbmUgc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g=="
Project_CodeNet_C++1000/p02709/s260341463
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CiNkZWZpbmUgcmVwKGkscyxuKSBmb3IgKGludCBpPXM7aTxuOysraSkKI2RlZmluZSBkcmVwKGkscyxuKSBmb3IgKGludCBpPW47aT49czstLWkpCiNkZWZpbmUgYWxsKHgpICh4KS5iZWdpbigpLCh4KS5lbmQoKQojZGVmaW5lIHJhbGwoYSkgKGEpLnJiZWdpbigpLChhKS5yZW5kKCkKI2RlZmluZSBwcmludCh4KSBjb3V0PDwoeCk8PGVuZGwKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKdHlwZWRlZiBsb25nIGxvbmcgbGw7CmludCBnY2QoaW50IGEsaW50IGIpCntpZiAoYSViID09IDApIHJldHVybihiKTsKIGVsc2UgICAgICAgICAgcmV0dXJuKGdjZChiLGElYikpO30KaW50IGxjbShpbnQgYSxpbnQgYikKe3JldHVybiBhKmIvZ2NkKGEsYik7fQp2b2lkIHByaW50dih2ZWN0b3I8YXV0bz4gdikge2NvdXQ8PCdbJztyZXAoaSwwLHYuc2l6ZSgpKXtjb3V0PDx2W2ldPDwnLCc7fWNvdXQ8PCddJzw8ZW5kbDt9CnZvaWQgcHJpbnR2dih2ZWN0b3I8dmVjdG9yPGF1dG8+PiB2dikKewogIGNvdXQ8PCdbJzw8ZW5kbDsKICByZXAocSwwLHZ2LnNpemUoKSl7Y291dDw8J1snO3JlcChwLDAsdnYuYXQocSkuc2l6ZSgpKWNvdXQ8PHZ2LmF0KHEpLmF0KHApPDwnLCc7Y291dCA8PCddJzw8ZW5kbDt9CiAgY291dDw8J10nPDxlbmRsOwp9CnZvaWQgc29sdmUoKTsgaW50IG1haW4oKXtjaW4udGllKDApO2lvczo6c3luY193aXRoX3N0ZGlvKDApO3NvbHZlKCk7fQppbnQgc3RlcF94W10gPSB7LTEsMCwwLDF9OwppbnQgc3RlcF95W10gPSB7MCwtMSwxLDB9Owpjb25zdCBsb25nIGxvbmcgSU5GID0gMTAwMDAwMDsKLy8tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KbGwgbjsKdm9pZCBzb2x2ZSgpCnsKICAgIGNpbiA+PiBuOwogICAgdmVjdG9yPHBhaXI8bGwsbGw+PiB2KG4pOwogICAgcmVwKGksMCxuKSB7Y2luID4+IHZbaV0uZmlyc3Q7IHZbaV0uc2Vjb25kPWk7fQoKICAgIHZlY3Rvcjx2ZWN0b3I8bGw+PiBkcChuKzIsIHZlY3RvcjxsbD4obisyLCAtMSkpOwogICAgZHBbMF1bMF09MDsKCiAgICBzb3J0KHJhbGwodikpOwoKICAgIHJlcChpLCAwLCBuKQogICAgewogICAgICByZXAobCwwLGkrMSkKICAgICAgewogICAgICAgIGlmKGRwW2ldW2xdPj0wKQogICAgICAgIHsKICAgICAgICAgIGRwW2krMV1bbCsxXSA9IG1heChkcFtpKzFdW2wrMV0sIGRwW2ldW2xdK3ZbaV0uZmlyc3QqYWJzKHZbaV0uc2Vjb25kLWwpKTsKICAgICAgICAgIGRwW2krMV1bbF0gICA9IG1heChkcFtpKzFdW2xdLCBkcFtpXVtsXSt2W2ldLmZpcnN0KmFicygobi0xKS0oaS1sKS12W2ldLnNlY29uZCkpOwogICAgICAgIH0KICAgICAgfQogICAgfQoKICAgIGxsIGFucyA9IC0xOwogICAgcmVwKGksMCxuKSBhbnMgPSBtYXgoYW5zLCBkcFtuXVtpXSk7CgogICAgcHJpbnQoYW5zKTsKCiAgICByZXR1cm47Cn0KCg=="
Project_CodeNet_C++1000/p02709/s255820567
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgojZGVmaW5lIGxsIGxvbmcgbG9uZwojZGVmaW5lIGVuZGwgIlxuIgojZGVmaW5lIGZpIGZpcnN0CiNkZWZpbmUgc2Ugc2Vjb25kCgp0ZW1wbGF0ZTx0eXBlbmFtZSBUPgp2b2lkIHNlbGZtYXgoVCAmYSwgVCBiKXsKICAgIGlmKGI+YSkgYT1iOwp9CgppbnQgbjsKCmludCBtYWluKCl7CiAgICAvLwogICAgLy9mcmVvcGVuKCJpbnB1dC50eHQiLCAiciIsIHN0ZGluKTsKICAgIC8vCiAgICBpb3M6OnN5bmNfd2l0aF9zdGRpbygwKTsKICAgIGNpbi50aWUoMCk7CgogICAgaW50IG47CiAgICBjaW4+Pm47CiAgICB2ZWN0b3I8cGFpcjxpbnQsaW50Pj4gYShuKTsKICAgIGZvciAoaW50IGk9MDsgaTxuOyArK2kpewogICAgICAgIGNpbj4+YVtpXS5maXJzdDsKICAgICAgICBhW2ldLnNlY29uZD1pOwogICAgfQogICAgdmVjdG9yPHZlY3RvcjxsbD4+IGRwKG4rMSwgdmVjdG9yPGxsPihuKzEsIC0xKSk7CiAgICBkcFswXVswXT0wOwogICAgc29ydChhLmJlZ2luKCksIGEuZW5kKCksIGdyZWF0ZXI8PigpKTsKICAgIGZvciAoaW50IGk9MDsgaTxuOyArK2kpewogICAgICAgIGludCB2YWwgPSBhW2ldLmZpOwogICAgICAgIGZvciAoaW50IGo9MDsgajw9aTsgKytqKXsKICAgICAgICAgICAgbGwgbGVmdERpc3QgPSBhYnMoYVtpXS5zZS1qKTsgCiAgICAgICAgICAgIGxsIHJpZ2h0RGlzdCA9IGFicyhuLTEtYVtpXS5zZS0oaS1qKSk7CiAgICAgICAgICAgIGxsIGxlZnRTY29yZSA9IHZhbCpsZWZ0RGlzdDsKICAgICAgICAgICAgbGwgcmlnaHRTY29yZSA9IHZhbCpyaWdodERpc3Q7CiAgICAgICAgICAgIHNlbGZtYXgoZHBbaSsxXVtqXSwgZHBbaV1bal0gKyByaWdodFNjb3JlKTsKICAgICAgICAgICAgc2VsZm1heChkcFtpKzFdW2orMV0sIGRwW2ldW2pdICsgbGVmdFNjb3JlKTsKICAgICAgICB9CiAgICB9CiAgICBsbCBhbnMgPSAwOwogICAgZm9yIChpbnQgaT0wOyBpPD1uOyArK2kpewogICAgICAgIHNlbGZtYXgoYW5zLCBkcFtuXVtpXSk7CiAgICB9CiAgICBjb3V0PDxhbnM7CiAgICByZXR1cm4gMDsKfQo="
Project_CodeNet_C++1000/p02709/s198312835
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiNkZWZpbmUgbGwgbG9uZyBsb25nCiNkZWZpbmUgYWxsKFYpIFYuYmVnaW4oKSxWLmVuZCgpCiNkZWZpbmUgTU9EIDEwMDAwMDAwMDcKCmxsIGRwWzIwMTBdWzIwMTBdOwoKdm9pZCBjaG1heChsbCYgYSwgbGwgYikgewoJYSA9IG1heChhLCBiKTsKfQoKaW50IG1haW4oKSB7Cglmb3IgKGludCBpID0gMDtpIDwgMjAxMDtpKyspIHsKCQlmb3IgKGludCBqID0gMDtqIDwgMjAxMDtqKyspIHsKCQkJZHBbaV1bal0gPSAwOwoJCX0KCX0KCWxsIE4sIFg7CgljaW4gPj4gTjsKCXZlY3RvcjxwYWlyPGxsLCBpbnQ+PiBBKE4pOwoJZm9yIChpbnQgaSA9IDA7aSA8IE47aSsrKSB7CgkJY2luID4+IFg7CgkJQVtpXSA9IHsgWCxpIH07Cgl9Cglzb3J0KGFsbChBKSk7CglyZXZlcnNlKGFsbChBKSk7Cglmb3IgKGludCBpID0gMDtpIDwgTjtpKyspIHsKCQlmb3IgKGludCBqID0gMCwgayA9IGk7ayA+PSAwO2orKywgay0tKSB7CgkJCWNobWF4KGRwW2ogKyAxXVtrXSwgZHBbal1ba10gKyBBW2ldLmZpcnN0ICogKGxsKWFicyhqIC0gQVtpXS5zZWNvbmQpKTsKCQkJY2htYXgoZHBbal1bayArIDFdLCBkcFtqXVtrXSArIEFbaV0uZmlyc3QgKiAobGwpYWJzKE4gLSAxIC0gayAtIEFbaV0uc2Vjb25kKSk7CgkJfQoJfQoJbGwgYW5zID0gMDsKCWZvciAoaW50IGogPSAwLCBrID0gTjtrID49IDA7aisrLCBrLS0pIHsKCQljaG1heChhbnMsIGRwW2pdW2tdKTsKCX0KCWNvdXQgPDwgYW5zIDw8IGVuZGw7Cn0="
Project_CodeNet_C++1000/p02709/s888674528
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKI2RlZmluZSBpbnQgbG9uZyBsb25nCgpjb25zdCBpbnQgTiA9IDIwMDc7CgppbnQgZHBbTl1bTl0sIHZhbFtOXSwgcG9zW05dOwpwYWlyPGludCxpbnQ+IGFbTl07CgpzaWduZWQgbWFpbigpewogICAgaW50IG47CiAgICBjaW4gPj4gbjsKICAgIGZvcihpbnQgaT0xO2k8PW47KytpKXsKICAgICAgICBjaW4gPj4gYVtpXS5maXJzdDsKICAgICAgICBhW2ldLnNlY29uZCA9IGk7CiAgICB9IAogICAgc29ydChiZWdpbihhKSsxLGJlZ2luKGEpK24rMSk7CiAgICByZXZlcnNlKGJlZ2luKGEpKzEsYmVnaW4oYSkrbisxKTsKCiAgICBmb3IoaW50IGk9MTtpPD1uOysraSkgdGllKHZhbFtpXSxwb3NbaV0pID0gYVtpXTsKCiAgICBmb3IoaW50IGw9MDtsPD1uOysrbCl7CiAgICAgICAgZm9yKGludCByPTA7cjw9bjsrK3IpewogICAgICAgICAgICBpbnQgcyA9IGwrcisxOwogICAgICAgICAgICBpZihzPm4pIGJyZWFrOwogICAgICAgICAgICBkcFtsKzFdW3JdID0gbWF4KGRwW2wrMV1bcl0sZHBbbF1bcl0rdmFsW3NdKmFicyhwb3Nbc10tKGwrMSkpKTsKICAgICAgICAgICAgZHBbbF1bcisxXSA9IG1heChkcFtsXVtyKzFdLGRwW2xdW3JdK3ZhbFtzXSphYnMocG9zW3NdLShuLXIpKSk7CiAgICAgICAgfQogICAgfQogICAgaW50IGFucyA9IDA7CiAgICBmb3IoaW50IGk9MDtpPD1uOysraSkgYW5zID0gbWF4KGFucyxkcFtpXVtuLWldKTsKICAgIGNvdXQgPDwgYW5zOwp9"
Project_CodeNet_C++1000/p02709/s467291324
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dXRpbGl0eT4KI2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPGNzdGRsaWI+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdHlwZWRlZiBsb25nIGxvbmcgbGw7CnR5cGVkZWYgcGFpcjxpbnQsIGludD4gcGlpOwoKaW50IG1haW4oKSB7CiAgICBpb3M6OnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7CiAgICBjaW4udGllKE5VTEwpOwoKICAgIGludCBuOwogICAgY2luID4+IG47CiAgICBwaWkgYWlbbl07CiAgICBmb3IgKGludCBpID0gMDsgaSA8IG47IGkrKykgewogICAgICAgIGNpbiA+PiBhaVtpXS5maXJzdDsKICAgICAgICBhaVtpXS5zZWNvbmQgPSBpOwogICAgfQogICAgc29ydChhaSwgYWkrbik7CgogICAgbGwgZHBbbl1bbl07CiAgICBmaWxsKGRwWzBdLCBkcFtuXSwgMCk7CiAgICBmb3IgKGludCBpID0gbiAtIDE7IGkgPj0gMDsgaS0tKSB7CiAgICAgICAgZm9yIChpbnQgaiA9IGk7IGogPCBuOyBqKyspIHsKICAgICAgICAgICAgaWYgKGkgPCBuIC0gMSkgewogICAgICAgICAgICAgICAgZHBbaV1bal0gPSBtYXgoZHBbaV1bal0sIGRwW2krMV1bal0gKyAxbGwgKiBhaVtqLWldLmZpcnN0ICogYWJzKGFpW2otaV0uc2Vjb25kIC0gaSkpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmIChqID4gMCkgewogICAgICAgICAgICAgICAgZHBbaV1bal0gPSBtYXgoZHBbaV1bal0sIGRwW2ldW2otMV0gKyAxbGwgKiBhaVtqLWldLmZpcnN0ICogYWJzKGFpW2otaV0uc2Vjb25kIC0gaikpOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgfQoKICAgIGNvdXQgPDwgZHBbMF1bbi0xXSA8PCBlbmRsOwoKICAgIHJldHVybiAwOwp9Cg=="
Project_CodeNet_C++1000/p02709/s281713807
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKdHlwZWRlZiBsb25nIGxvbmcgbGw7CiNkZWZpbmUgRk9SKGksYSxiKSBmb3IobGwgaT0oYSk7aTwoYik7aSsrKQojZGVmaW5lIFJFUChpLGEpIEZPUihpLDAsYSkKY29uc3QgaW50IE1BWF9OPTJlMzsKdHlwZWRlZiBwYWlyPGxsLGxsPiBQOwpsbCBOOwpQIEFbTUFYX05dOwpsbCBtZW1vW01BWF9OXVtNQVhfTl07CgpsbCBkZnMobGwgbixsbCBsZnQsbGwgcmlnKXsKCWlmKG49PU4pcmV0dXJuIDA7CglpZihtZW1vW25dW2xmdF0hPS0xKXsKCQlyZXR1cm4gbWVtb1tuXVtsZnRdOwoJfQoJcmV0dXJuIG1lbW9bbl1bbGZ0XT1tYXgoQVtuXS5maXJzdCpsbGFicyhBW25dLnNlY29uZC1sZnQpK2RmcyhuKzEsbGZ0KzEscmlnKSwKCQkJQVtuXS5maXJzdCpsbGFicyhBW25dLnNlY29uZC1yaWcpK2RmcyhuKzEsbGZ0LHJpZy0xKSk7Cn0KCmludCBtYWluKCl7CgljaW4udGllKDApOwoJY2luLnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7CgljaW4+Pk47CglSRVAoaSxOKXsKCQljaW4+PkFbaV0uZmlyc3Q7CgkJQVtpXS5zZWNvbmQ9aTsKCX0KCW1lbXNldChtZW1vLC0xLHNpemVvZihtZW1vKSk7Cglzb3J0KEEsQStOKTsKCXJldmVyc2UoQSxBK04pOwoJY291dDw8ZGZzKDAsMCxOLTEpPDxlbmRsOwp9Cg=="
Project_CodeNet_C++1000/p02709/s678975363
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"CiNpbmNsdWRlIDxpb3N0cmVhbT4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCiNkZWZpbmUgaW50IGxvbmcgbG9uZwojZGVmaW5lIGYoaSxuKSBmb3IoaW50IGk9MDtpPG47aSsrKQojZGVmaW5lIHBsbCBwYWlyPGxvbmcsbG9uZz4KI2RlZmluZSBTIHNlY29uZAojZGVmaW5lIEYgZmlyc3QKCnNpZ25lZCBtYWluKCl7CglpbnQgbjsKCWNpbj4+bjsKCXBsbCBhW24rMV07CglpbnQgZHBbbisxXVtuKzFdOwoJZihpLG4rMSkgZihqLG4rMSkgZHBbaV1bal09MDsKCglmb3IoaW50IGk9MTtpPG4rMTtpKyspewoJCWNpbj4+YVtpXS5GOyAvL3NvICB0aGF0IGl0IGNhbiBiZSBjb21wYXJlZCBmb3IgZGVzY2VuZGluZwoJCWFbaV0uUz1pOwoJfQoKCXNvcnQoYSsxLGErbisxLGdyZWF0ZXI8cGxsPigpKTsKCglmb3IoaW50IGk9MTtpPG4rMTtpKyspewoJCS8vY3VycmVudGx5IGF0IGl0aCBpbmRleCBvZiBvdXIgc29ydGVkIHdlaWdodHMKCQkvL2ktMSB3ZWlnaHRzIGhhdmUgYWxyZWFkeSBiZWVuIHBsYWNlZAoJCWZvcihpbnQgaj0wO2o8aTtqKyspewoJCQlpbnQgTCA9IGo7CgkJCWludCBSID0gaS0xLWo7CgkJCWRwW0wrMV1bUl0gPSBtYXgoCgkJCQlkcFtMKzFdW1JdLAoJCQkJZHBbTF1bUl0gKyBhYnMoTCsxIC0gYVtpXS5TKSphW2ldLkYKCQkJKTsKCQkJZHBbTF1bUisxXSA9IG1heCgKCQkJCWRwW0xdW1IrMV0sCgkJCQlkcFtMXVtSXSArIGFicyhuLVIgLSBhW2ldLlMpKmFbaV0uRgoJCQkpOwoJCX0KCX0KCglpbnQgYW5zPTA7Cglmb3IoaW50IGk9MDtpPG4rMTtpKyspewoJCS8vbnVtIGVsZSB0byBsZWZ0CgkJYW5zID0gbWF4KGFucyxkcFtpXVtuLWldKTsKCX0KCWNvdXQ8PGFuczw8ZW5kbDsKCXJldHVybiAwOwp9Cg=="
Project_CodeNet_C++1000/p02709/s735876505
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnR5cGVkZWYgbG9uZyBsb25nIGxsOwojZGVmaW5lIG1wIG1ha2VfcGFpcgojZGVmaW5lIHBiIHB1c2hfYmFjawojZGVmaW5lIHJlcChpLG4pIGZvcihpbnQgaT0wO2k8bjtpKyspCiNkZWZpbmUgcmVwMShpLG4pIGZvcihpbnQgaT0xO2k8PShpbnQpKG4pO2krKykKCgppbnQgbWFpbigpewogIGlvczo6c3luY193aXRoX3N0ZGlvKGZhbHNlKTsKICBjaW4udGllKDApOwoKICBsbCBuOwogIGNpbiA+PiBuOwogIHZlY3RvcjxwYWlyPGxsLGxsPj4gYShuKTsKICByZXAoaSxuKSB7CiAgICBpbnQgdDsKICAgIGNpbiA+PiB0OwogICAgYVtpXT0ge3QsaX07CiAgfQogIHNvcnQoYS5yYmVnaW4oKSxhLnJlbmQoKSk7CgogIGxsIGRwW24rMV1bbisxXTsKICByZXAoaSxuKzEpcmVwKGosbisxKWRwW2ldW2pdID0gMDsKCiAgcmVwMShpLG4pewogICAgbGwgdmFsID0gYVtpLTFdLmZpcnN0OwogICAgbGwgcHJlX3BvcyA9IGFbaS0xXS5zZWNvbmQ7CiAgICBmb3IoaW50IGo9MDtqPD1pO2orKyl7CiAgICAgIGlmKGotMT49MCkgZHBbaV1bal0gPSBkcFtpLTFdW2otMV0gKyBhYnMoai0xIC0gcHJlX3BvcykqdmFsOwogICAgICBpZihpLTE+PWopIGRwW2ldW2pdID0gbWF4KGRwW2ldW2pdLGRwW2ktMV1bal0gKyBhYnMobiAtIChpLTEtaikgLTEgLSBwcmVfcG9zKSp2YWwpOwogICAgICAvLyBjb3V0IDw8IGkgPDwgIiAiIDw8IGogPDwiICI8PCBkcFtpXVtqXSA8PCBlbmRsOwogICAgfQogIH0KICBsbCBhbnMgPTA7CiAgcmVwKGksbisxKXsKICAgIGFucyA9IG1heChhbnMsIGRwW25dW2ldKTsKICB9CiAgY291dCA8PCBhbnMgPDwgZW5kbDsKCgogIHJldHVybiAwOwogICAgCgp9Cg=="
Project_CodeNet_C++1000/p02709/s957885614
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Y3N0ZGlvPgojaW5jbHVkZTxjc3RyaW5nPgojaW5jbHVkZTxpb3N0cmVhbT4KI2luY2x1ZGU8YWxnb3JpdGhtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwpjb25zdCBsb25nIGxvbmcgbWF4bj0yNTAwKzEwOwpsb25nIGxvbmcgbixkcFttYXhuXVttYXhuXTsKc3RydWN0IG5vZGUKewoJbG9uZyBsb25nIHcsaWQ7Cn1hW21heG5dOwpsb25nIGxvbmcgY21wKG5vZGUgeCxub2RlIHkpCnsKCXJldHVybiB4Lnc+eS53Owp9CmludCBtYWluKCkKewoJc2NhbmYoIiVsbGQiLCZuKTsKCWZvcihsb25nIGxvbmcgaT0xO2k8PW47aSsrKXNjYW5mKCIlbGxkIiwmYVtpXS53KSxhW2ldLmlkPWk7Cglzb3J0KGErMSxhKzErbixjbXApOwoJZm9yKGxvbmcgbG9uZyBpPTE7aTw9bjtpKyspCgl7CgkJZm9yKGxvbmcgbG9uZyBqPTA7ajw9aS0xO2orKykKCQl7CgkJCWxvbmcgbG9uZyBrPWktMS1qOwoJCQlkcFtqKzFdW2tdPW1heChkcFtqKzFdW2tdLGRwW2pdW2tdK2FbaV0udyphYnMoYVtpXS5pZC0oaisxKSkpOwoJCQlkcFtqXVtrKzFdPW1heChkcFtqXVtrKzFdLGRwW2pdW2tdK2FbaV0udyphYnMoYVtpXS5pZC0obi1rKSkpOwoJCX0KCX0KCWxvbmcgbG9uZyBtYXh4PTA7Cglmb3IobG9uZyBsb25nIGk9MDtpPD1uO2krKyltYXh4PW1heChtYXh4LGRwW2ldW24taV0pOwoJcHJpbnRmKCIlbGxkXG4iLG1heHgpOwoJcmV0dXJuIDA7Cn0="
Project_CodeNet_C++1000/p02709/s856366512
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8c2V0PgojaW5jbHVkZSA8bWFwPgojaW5jbHVkZSA8Y21hdGg+CiNkZWZpbmUgcmVwKGksIG4pIGZvcihsb25nIGkgPSAwOyBpIDwgKG4pOyBpKyspCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnVzaW5nIFAgPSBwYWlyPGxvbmcsIGxvbmc+Owpsb25nIG1vZCA9IChsb25nKSAxZTkgKyA3Owpsb25nIGFuc1syMDAxXVsyMDAxXSA9IHt9OwoKaW50IG1haW4oKXsKICAgIAogICAgbG9uZyBuOwogICAgY2luID4+IG47CiAgICBzZXQ8UD4gczsKICAgIAogICAgcmVwKGksbil7CiAgICAgICAgbG9uZyB4OwogICAgICAgIGNpbiA+PiB4OwogICAgICAgIHMuZW1wbGFjZShQKCgtMSAqIHgpLGkpKTsKICAgIH0KICAgIAogICAgbG9uZyB4ID0gMDsKICAgIAogICAgZm9yKGF1dG8gaTpzKXsKICAgICAgICAKICAgICAgICBhbnNbeCArIDFdWzBdID0gYW5zW3hdWzBdICsgaS5maXJzdCAqIC0xICogYWJzKGkuc2Vjb25kIC0geCk7CiAgICAgICAgYW5zWzBdW3ggKyAxXSA9IGFuc1swXVt4XSArIGkuZmlyc3QgKiAtMSAqIGFicyhpLnNlY29uZCArIHggKyAxIC0gbik7CiAgICAgICAgcmVwKGoseCl7CiAgICAgICAgICAgIGFuc1t4IC0gal1bMSArIGpdID0gbWF4KGFuc1t4IC0gaiAtIDFdWzEgKyBqXSArIGkuZmlyc3QgKiAtMSAqIGFicyhpLnNlY29uZCAtIHggKyBqICsgMSksCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFuc1t4IC0gal1bal0gKyBpLmZpcnN0ICogLTEgKiBhYnMoaS5zZWNvbmQgKyBqICsgMSAtIG4pKTsKICAgICAgICB9CiAgICAgICAgeCsrOwogICAgfQogICAgCiAgICBsb25nIHJlcyA9IDA7CiAgICByZXAoaSxuICsgMSl7CiAgICAgICAgcmVzID0gbWF4KHJlcywgYW5zW24gLSBpXVtpXSk7CiAgICB9CiAgICAKICAgIGNvdXQgPDwgcmVzIDw8ICJcbiI7CiAgICAKICAgIHJldHVybiAwOwp9CgoK"
Project_CodeNet_C++1000/p02709/s272543364
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"Ly/jg5jjg4Pjg4Djg7wKI2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCi8v5Z6L5a6a576pCnR5cGVkZWYgbG9uZyBsb25nIGxsOwoKLy/lrprmlbAKY29uc3QgaW50IElORj0xZSs5Owpjb25zdCBpbnQgTU9EPTFlKzkrNzsKCi8vUkVQ44Oe44Kv44OtCiNkZWZpbmUgUkVQKGksbikgZm9yKGxsIGk9MDtpPChsbCkobik7aSsrKQojZGVmaW5lIFJFUEQoaSxuKSBmb3IobGwgaT1uLTE7aT49MDtpLS0pCiNkZWZpbmUgUkVQMihpLGEsYikgZm9yKGxsIGk9YTtpPCh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AgICAgICAgbGwgaWR4PUFbaStqXS5zZWNvbmQ7CiAgICAgICAgICAgIGRwW2krMV1bal09bWF4KGRwW2krMV1bal0sZHBbaV1bal0rYSooaWR4LWkpKTsKICAgICAgICAgICAgZHBbaV1baisxXT1tYXgoZHBbaV1baisxXSxkcFtpXVtqXSthKihOLTEtaWR4LWopKTsKICAgICAgICB9CiAgICB9CgogICAgbGwgYW5zPTA7CiAgICBSRVAoaSxOKzEpewogICAgICAgIGFucz1tYXgoYW5zLGRwW2ldW04taV0pOwogICAgfQogICAgY291dDw8YW5zPDxlbmRsOwp9"
Project_CodeNet_C++1000/p02709/s198654829
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgp0eXBlZGVmIHVuc2lnbmVkIGxvbmcgdWw7CnR5cGVkZWYgdW5zaWduZWQgbG9uZyBsb25nIHVsbDsKdHlwZWRlZiBsb25nIGxvbmcgbGw7CnR5cGVkZWYgdmVjdG9yPGxsPiB2aW50Owp0eXBlZGVmIHZlY3RvcjwgdmVjdG9yPGxsPiA+IHZ2aW50Owp0eXBlZGVmIHZlY3RvcjwgdmVjdG9yPCB2ZWN0b3I8bGw+ID4gPiB2dnZpbnQ7CnR5cGVkZWYgdmVjdG9yPHN0cmluZz4gdnN0cmluZzsKdHlwZWRlZiB2ZWN0b3I8IHZlY3RvcjxzdHJpbmc+ID4gdnZzdHJpbmc7CnR5cGVkZWYgdmVjdG9yPGNoYXI+IHZjaGFyOwp0eXBlZGVmIHZlY3RvcjwgdmVjdG9yPGNoYXI+ID4gdnZjaGFyOwp0eXBlZGVmIHZlY3Rvcjxsb25nIGRvdWJsZT4gdmRvdWJsZTsKdHlwZWR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KGErYi0xKS9iO30KCmludCBkeVtdPXswLCAwLCAxLCAtMSwgMSwgLTEsIC0xLCAxfTsKaW50IGR4W109ezEsIC0xLCAwLCAwLCAxLCAxLCAtMSwgLTF9OwoKdm9pZCBwcmludHYodmludCAmdil7CiAgICBmb3IoYXV0byBlOnYpIGNvdXQ8PGU8PCIgIjsKICAgICAgICBjb3V0PDxlbmRsOwogICAgfQoKaW50IG1haW4oKSB7CiAgICBjb3V0PDxmaXhlZDw8c2V0cHJlY2lzaW9uKDEwKTsKCiAgICBsbCBuOyBjaW4+Pm47CiAgICB2cGludCBhKG4pOyByZXAoaSxuKXtsbCB4OyBjaW4+Png7IGFbaV0gPSBtcCh4LCBpKTt9CgogICAgc29ydChBTEwoYSksIGdyZWF0ZXI8cGludD4oKSk7CgogICAgdnZpbnQgZHAobisxLCB2aW50KG4rMSwgMCkpOwoKICAgIHJlcChpLG4pewogICAgICAgIHJlcChsLCBpKzEpewogICAgICAgICAgICBsbCByID0gaSAtIGw7CiAgICAgICAgICAgIGNobWF4KGRwW3IrMV1bbF0sIGRwW3JdW2xdICsgYVtpXS5maXJzdCphYnMoci1hW2ldLnNlY29uZCkpOwogICAgICAgICAgICBjaG1heChkcFtyXVtsKzFdLCBkcFtyXVtsXSArIGFbaV0uZmlyc3QqYWJzKChuLTEpIC0gbCAtIGFbaV0uc2Vjb25kKSk7CiAgICAgICAgfQogICAgfQoKICAgIGxsIGFucyA9IDA7CiAgICByZXAoaSxuKzEpcmVwKGosbisxKSBjaG1heChhbnMsIGRwW2ldW2pdKTsKCiAgICBjb3V0PDxhbnM8PGVuZGw7CgoKICAgIHJldHVybiAwOwoKfQ=="
Project_CodeNet_C++1000/p02709/s084253159
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1Z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kpIHsKICAgICAgLy8gY2htYXgoZHBbaSArIDFdW2wgKyAxXSwgZHBbaV1bbF0gKyBhKihwIC0gbCkpOwogICAgICAvLyBjaG1heChkcFtpICsgMV1bbF0sIGRwW2ldW2xdICsgYSoobiAtIDEgLSBpICsgbCAtIHApKTsKICAgICAgaWYobCA8PSBpIC0gMSl7CiAgICAgICAgbGwgciA9IGkgLSAxIC0gbDsKICAgICAgICBsbCBhZGRyID0gZHBbaSAtIDFdW2xdICsgYSAqIChuIC0gMSAtIHIgLSBwKTsKICAgICAgICBkcFtpXVtsXSA9IGFkZHI7CiAgICAgIH0KICAgICAgaWYgKGwgPj0gMSkgewogICAgICAgIGxsIGFkZGwgPSBkcFtpIC0gMV1bbCAtIDFdICsgYSAqIChwIC0gbCArIDEpOwogICAgICAgIGNobWF4KGRwW2ldW2xdLCBhZGRsKTsKICAgICAgfQogICAgfQogIH0KICBsbCBhbnMgPSAwOwogIHJlcChsLCBuICsgMSkgY2htYXgoYW5zLCBkcFtuXVtsXSk7CgogIGNvdXQgPDwgYW5zIDw8IGVuZGw7CgogIHJldHVybiAwOwp9Cg=="
Project_CodeNet_C++1000/p02709/s052788511
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKdHlwZWRlZiBsb25nIGxvbmcgaW50NjQ7CnR5cGVkZWYgcGFpcjxpbnQ2NCwgaW50NjQ+IHBpaTsKaW50NjQgZHBbMjAwMl1bMjAwMl07CmludCBtYWluKCl7CglpbnQgbjsgY2luID4+IG47CiAgICB2ZWN0b3I8cGlpPiBBKG4pOwogICAgZm9yKGludDY0IGkgPSAwOyBpIDwgbjsgaSsrKXsKICAgIAljaW4gPj4gQVtpXS5maXJzdDsKICAgICAgICBBW2ldLnNlY29uZCA9IGk7CiAgICB9CiAgICBzb3J0KEEuYmVnaW4oKSwgQS5lbmQoKSk7CgogICAgaW50NjQgYW5zID0gMDsKICAgIC8vbWVtc2V0KGRwLCAwLCBzaXplb2YoZHApKTsKICAJZm9yKGludDY0IGwgPSBuOyBsID49IDE7IGwtLSl7CiAgICAJZm9yKGludDY0IGkgPSAwOyBpIDwgbiAtIGwgKyAxOyBpKyspewogICAgICAgICAgaW50NjQgaiA9IGkgKyBsIC0gMTsKICAgICAgICAgIGlmKGwgPT0gMSl7CiAgICAgICAgICAJICBhbnMgPSBtYXgoYW5zLCBkcFtpXVtqXSArIChpbnQ2NClBW2wgLSAxXS5maXJzdCAqIGFicyhBW2wgLSAxXS5zZWNvbmQgLSBpKSk7CiAgICAgICAgICB9CiAgICAgICAgICBlbHNlewogICAgICAgICAgCSAgZHBbaSArIDFdW2pdID0gbWF4KGRwW2kgKyAxXVtqXSwgZHBbaV1bal0gKyBBW2wgLSAxXS5maXJzdCAqIGFicyhBW2wgLSAxXS5zZWNvbmQgLSBpKSk7CiAgICAgICAgICAgICAgZHBbaV1baiAtIDFdID0gbWF4KGRwW2ldW2ogLSAxXSwgZHBbaV1bal0gKyBBW2wgLSAxXS5maXJzdCAqIGFicyhBW2wgLSAxXS5zZWNvbmQgLSBqKSk7CiAgICAgICAgICB9CiAgICAgICAgfQogICAgfQogICAgY291dCA8PCBhbnMgPDwgZW5kbDsKICAgIHJldHVybiAwOwp9Cg=="
Project_CodeNet_C++1000/p02709/s283095486
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnR5cGVkZWYgbG9uZyBsb25nIGxsOwojZGVmaW5lIHJlcChrLGksbikgZm9yKGxsIGk9aztpPG47KytpKQpsbCBkcFsyMDAxXVsyMDAxXTsKaW50IG1haW4odm9pZCl7CiAgICBsbCBuOwogICAgY2luPj5uOwogICAgdmVjdG9yPHBhaXI8bGwsbGw+PnAobik7CiAgICByZXAoMCxpLG4pewogICAgICAgIGNpbj4+cFtpXS5maXJzdDsKICAgICAgICBwW2ldLnNlY29uZD1pOwogICAgfQogICAgc29ydChwLnJiZWdpbigpLHAucmVuZCgpKTsKICAgIHJlcCgwLGksbisxKXJlcCgwLGosbisxKWRwW2ldW2pdPTA7CiAgICByZXAoMCxpLG4pewogICAgICAgIGxsIGs9cFtpXS5maXJzdDsKICAgICAgICBsbCByPXBbaV0uc2Vjb25kOwogICAgICAgIHJlcCgwLHgsaSsxKXsKICAgICAgICAgICAgbGwgeT1pLXg7CiAgICAgICAgICAgIGRwW3grMV1beV09bWF4KGRwW3grMV1beV0sZHBbeF1beV0rayphYnMoci14KSk7CiAgICAgICAgICAgIGRwW3hdW3krMV09bWF4KGRwW3hdW3krMV0sZHBbeF1beV0rayphYnMobi0xLXktcikpOwogICAgICAgIH0KICAgIH0KICAgIGxsIGFucz0wOwogICAgcmVwKDAsaSxuKWFucz1tYXgoZHBbaV1bbi1pXSxhbnMpOwogICAgY291dDw8YW5zOwp9Cg=="
Project_CodeNet_C++1000/p02709/s280879833
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgojZGVmaW5lIHZ0ICAgICAgICAgIHZlY3RvcgojZGVmaW5lIHN6KHgpICAgICAgIGludCgoeCkuc2l6ZSgpKQojZGVmaW5lIGFsbCh4KSAgICAgICh4KS5iZWdpbigpLCAoeCkuZW5kKCkKI2RlZmluZSByYWxsKHgpICAgICAoeCkucmJlZ2luKCksICh4KS5yZW5kKCkKI2RlZmluZSBmaSAgICAgICAgICBmaXJzdAojZGVmaW5lIHNlICAgICAgICAgIHNlY29uZAoKdXNpbmcgbGwgPSBsb25nIGxvbmc7CnVzaW5nIHBpaSA9IHBhaXI8aW50LCBpbnQ+OwoKdm9pZCBzb2x2ZSgpIHsKICAgIGludCBuOwogICAgY2luID4+IG47CiAgICB2dDxwaWk+IGEobik7CiAgICBmb3IgKGludCBpID0gMDsgaSA8IG47IGkrKykgewogICAgICAgIGNpbiA+PiBhW2ldLmZpOwogICAgICAgIGFbaV0uc2UgPSBpOwogICAgfQogICAgc29ydChyYWxsKGEpKTsKCiAgICB2dDx2dDxsbD4+IGRwKG4gKyAxLCB2dDxsbD4obiArIDEpKTsKICAgIGZvciAoaW50IGkgPSAwOyBpIDwgbjsgaSsrKSB7CiAgICAgICAgZm9yIChpbnQgbCA9IDA7IGwgPD0gaSArIDE7IGwrKykgewogICAgICAgICAgICBpbnQgciA9IGkgLSBsICsgMTsKICAgICAgICAgICAgaWYgKGwpIGRwW2xdW3JdID0gbWF4KAogICAgICAgICAgICAgICAgICAgIGRwW2xdW3JdLAogICAgICAgICAgICAgICAgICAgIGRwW2wgLSAxXVtyXSArIChsbClhW2ldLmZpICogYWJzKGFbaV0uc2UgLSBsICsgMSkKICAgICAgICAgICAgICAgICk7CiAgICAgICAgICAgIGlmIChyKSBkcFtsXVtyXSA9IG1heCgKICAgICAgICAgICAgICAgICAgICBkcFtsXVtyXSwKICAgICAgICAgICAgICAgICAgICBkcFtsXVtyIC0gMV0gKyAobGwpYVtpXS5maSAqIGFicyhhW2ldLnNlIC0gbiArIHIpCiAgICAgICAgICAgICAgICApOwogICAgICAgIH0KICAgIH0KCiAgICBsbCBhbnMgPSAwOwogICAgZm9yIChpbnQgaSA9IDA7IGkgPD0gbjsgaSsrKSB7CiAgICAgICAgYW5zID0gbWF4KGFucywgZHBbbiAtIGldW2ldKTsKICAgIH0KICAgIGNvdXQgPDwgYW5zOwp9CgppbnQgbWFpbigpIHsKICAgIGlvczo6c3luY193aXRoX3N0ZGlvKDApLCBjaW4udGllKDApOwoKICAgIGludCB0Y3MgPSAxOwogICAgZm9yIChpbnQgdGMgPSAxOyB0YyA8PSB0Y3M7IHRjKyspIHsKICAgICAgICAvLyBjb3V0IDw8ICJDYXNlICIgPDwgdGMgPDwgIjogIjsKICAgICAgICBzb2x2ZSgpOwogICAgfQp9Cg=="
Project_CodeNet_C++1000/p02709/s989475452
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CiNkZWZpbmUgQUxMKG9iaikgYmVnaW4ob2JqKSwgZW5kKG9iaikKI2RlZmluZSBkZWJ1Zyh4KSBjZXJyIDw8ICN4IDw8ICI6ICIgPDwgeCA8PCAnXG4nCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnRlbXBsYXRlIDxjbGFzcyBUPgp2ZWN0b3I8VD4gbWFrZV92ZWMoc2l6ZV90IGEpIHsKICAgIHJldHVybiB2ZWN0b3I8VD4oYSk7Cn0KdGVtcGxhdGUgPGNsYXNzIFQsIGNsYXNzLi4uIFRzPgphdXRvIG1ha2VfdmVjKHNpemVfdCBhLCBUcy4uLiB0cykgewogICAgcmV0dXJuIHZlY3RvcjxkZWNsdHlwZShtYWtlX3ZlYzxUPih0cy4uLikpPihhLCBtYWtlX3ZlYzxUPih0cy4uLikpOwp9CnRlbXBsYXRlIDxjbGFzcyBUPgpib29sIGNobWF4KFQgJmEsIGNvbnN0IFQgJmIpIHsKICAgIGlmIChhIDwgYikgewogICAgICAgIGEgPSBiOwogICAgICAgIHJldHVybi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B5XS5zZWNvbmQgLSAoTiAtIDEgLSB5KSkpOwogICAgICAgIH0KICAgIH0KICAgIGxsIGFucyA9IDA7CiAgICBmb3IgKGludCBpID0gMDsgaSA8PSBOOyBpKyspIHsKICAgICAgICBjaG1heChhbnMsIGRwW2ldW04gLSBpXSk7CiAgICB9CiAgICBjb3V0IDw8IGFucyA8PCBlbmRsOwp9Cg=="
Project_CodeNet_C++1000/p02709/s970238748
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdHlwZWRlZiAgbG9uZyBsb25nIGludCBsbDsKdHlwZWRlZiAgbG9uZyBkb3VibGUgbGQ7CiNkZWZpbmUgc3luYyBpb3NfYmFzZTo6c3luY193aXRoX3N0ZGlvKGZhbHNlKTsgY2luLnRpZShOVUxMKSAKI2RlZmluZSBpbnB1dChhcnIsbikgZm9yKGxsIGkxPTA7aTE8bjtpMSsrICljaW4+PmFycltpMV0KI2RlZmluZSBtb2QgMTAwMDAwMDAwNwojZGVmaW5lIEYgZmlyc3QKI2RlZmluZSBTIHNlY29uZCAKI2luY2x1ZGUgPGV4dC9wYl9kcy9hc3NvY19jb250YWluZXIuaHBwPgojaW5jbHVkZSA8ZXh0L3BiX2RzL3RyZWVfcG9saWN5LmhwcD4KI3ByYWdtYSBHQ0Mgb3B0aW1pemUoIk8zIikKLy9yZWN1cnNpb25zXAojcHJhZ21hIGNvbW1lbnQobGlua2VyLCAiL3N0YWNrOjIwMDAwMDAwMCIpCi8vbG9vcHNcCiNwcmFnbWEgR0NDIG9wdGltaXplKCJ1bnJvbGwtbG9vcHMiKQp1c2luZyBuYW1lc3BhY2UgX19nbnVfcGJkczsKI2RlZmluZSBvcmRlcmVkX3NldCB0cmVlPGxsLCBudWxsX3R5cGUsbGVzc19lcXVhbDxsbD4sIHJiX3RyZWVfdGFnLHRyZWVfb3JkZXJfc3RhdGlzdGljc19ub2RlX3VwZGF0ZT4vL3Mub3JkZXJfb2Zfa2V5KHZhbCkgKnMuZmluZF9ieV9vcmRlcihpbmQpCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmxsIGRwWzIwMDVdWzIwMDVdOwppbnQgbWFpbigpCnsKCXN5bmM7CglsbCBuOwoJY2luPj5uOwoJdmVjdG9yPHBhaXI8bGwsbGw+ID52KG4pOwoJZm9yKGxsIGk9MDtpPG47aSsrKQoJewoJCWNpbj4+dltpXS5GOwoJCXZbaV0uUz1pKzE7Cgl9Cglzb3J0KHYuYmVnaW4oKSx2LmVuZCgpKTsKCXJldmVyc2Uodi5iZWdpbigpLHYuZW5kKCkpOwoJCglsbCBhbnM9MDsKCWZvcihsbCBpPTE7aTw9bjtpKyspCgl7CgkJbGwgdmFsPXZbaS0xXS5GLGlkeD12W2ktMV0uUzsKCQlmb3IobGwgaj0xO2o8PWk7aisrKQoJCXsKCQkJZHBbal1baS1qXT1tYXgoZHBbal1baS1qXSxkcFtqLTFdW2ktal0rYWJzKGotaWR4KSp2YWwpOwoJCQlkcFtpLWpdW2pdPW1heChkcFtpLWpdW2pdLGRwW2ktal1bai0xXSthYnMobisxLWotaWR4KSp2YWwpOwkJCgkJfQoJfQoJCglmb3IobGwgaT0wO2k8PW47aSsrKQoJCWFucz1tYXgoYW5zLGRwW2ldW24taV0pOwoJCQoJY291dDw8YW5zOwp9"
Project_CodeNet_C++1000/p02709/s645087350
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKI2luY2x1ZGUgP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iAgICAgICAgeCA9IHk7CiNkZWZpbmUgbGNtKHgsIHkpICgoeCkgKiAoeSkgLyBfX2djZCh4LCB5KSkKI2RlZmluZSBsZW4oeCkgKGxsKSB4Lmxlbmd0aCgpCiNkZWZpbmUgc3EoeCkgKCh4KSAqICh4KSkKI2RlZmluZSBjYih4KSAoKHgpICogKHgpICogKHgpKQpsbCBkcFsyMDAxXVsyMDAxXTsKaW50IG1haW4oKQp7CiAgICBpb3NfYmFzZTo6c3luY193aXRoX3N0ZGlvKGZhbHNlKTsKICAgIGNpbi50aWUoTlVMTCk7CiAgICBsbCBhLGIsYyx0LG4sbSxrLHE7IAogICAgdCA9IDE7CiAgICAvLyBjaW4+PnQ7CiAgICB3aGlsZSh0LS0pCiAgICB7CiAgICAgICAgY2luPj5uOwogICAgICAgIHZlY3RvciA8cGxsPiB2OwogICAgICAgIHYucGIobXAoMWUxOCwtMSkpOwogICAgICAgIGZvcihpbnQgaT0wO2k8bjtpKyspCiAgICAgICAgewogICAgICAgICAgICBjaW4+PmE7CiAgICAgICAgICAgIHYucGIobXAoYSxpKzEpKTsKICAgICAgICB9CiAgICAgICAgc29ydChyYmVnaW4odiksIHJlbmQodikpOwogICAgICAgIGZvcihpbnQgaT0xO2k8PW47aSsrKQogICAgICAgIHsKICAgICAgICAgICAgZm9yKGludCBqPTA7ajxpO2orKykKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgbGwgeCA9IG4tKGktai0xKTsKICAgICAgICAgICAgICAgIHggPSB2W2ldLmZmKihhYnModltpXS5zcy14KSk7CiAgICAgICAgICAgICAgICBkcFtpXVtqXSA9IG1heChkcFtpXVtqXSwgZHBbaS0xXVtqXSArIHgpOwogICAgICAgICAgICAgICAgeCA9IHZbaV0uZmYqKGFicyh2W2ldLnNzLWotMSkpOwogICAgICAgICAgICAgICAgZHBbaV1baisxXSA9IG1heChkcFtpLTFdW2pdK3gsZHBbaV1baisxXSk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgbSA9IDA7CiAgICAgICAgZm9yKGludCBpPTE7aTw9bjtpKyspCiAgICAgICAgICAgIG0gPSBtYXgobSxkcFtuXVtpXSk7CiAgICAgICAgY291dDw8bTw8ZW5kbDsKICAgIH0KICAgIHJldHVybiAwOwp9"
Project_CodeNet_C++1000/p02709/s113804569
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0ZGlvPgojaW5jbHVkZSA8Y3N0cmluZz4KI2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPHZlY3Rvcj4KI2luY2x1ZGUgPHF1ZXVlPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwpjb25zdCBpbnQgbWF4bj0yZTMrNTsKdHlwZWRlZiBsb25nIGxvbmcgbGw7CmxsIGRwW21heG5dW21heG5dOwppbnQgbjsKcGFpcjxpbnQsaW50PiBhW21heG5dOwppbmxpbmUgYm9vbCBjbXAxKHBhaXI8aW50LGludD4gYTEscGFpcjxpbnQsaW50PiBiMSl7CglyZXR1cm4gYTEuZmlyc3Q+YjEuZmlyc3Q7Cn0KaW50IG1haW4oKXsKCWNpbj4+bjsKCWZvciAoaW50IGk9MTtpPD1uO2krKyl7CgkJc2NhbmYoIiVkIiwmYVtpXS5maXJzdCk7CgkJYVtpXS5zZWNvbmQ9aTsKCX0KCXNvcnQoYSsxLGErbisxLGNtcDEpOwoJbWVtc2V0KGRwLDB4ZjMsc2l6ZW9mKGRwKSk7CglkcFswXVswXT0wOwoJbGwgYW5zPS0xZTE0OwoJZm9yIChpbnQgbGVuPTE7bGVuPD1uO2xlbisrKXsKCQlmb3IgKGludCBsPTA7bDw9bGVuO2wrKyl7CgkJCWludCByPWxlbi1sOwoJCQlpbnQgb3Q9bi1yKzE7CgkJCWlmIChsKSBkcFtsXVtyXT1tYXgoZHBbbF1bcl0sZHBbbC0xXVtyXSsxbGwqKGFbbGVuXS5zZWNvbmQtbCkqYVtsZW5dLmZpcnN0KTsKCQkJaWYgKHIpIGRwW2xdW3JdPW1heChkcFtsXVtyXSxkcFtsXVtyLTFdKzFsbCoob3QtYVtsZW5dLnNlY29uZCkqYVtsZW5dLmZpcnN0KTsKCQkJaWYgKGxlbj09bikgYW5zPW1heChhbnMsZHBbbF1bcl0pOwoJCX0KCX0KCWNvdXQ8PGFuczw8ZW5kbDsKfQ=="
Project_CodeNet_C++1000/p02709/s832884045
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbGwgPSBsb25nIGxvbmc7CiNkZWZpbmUgQUxMKHYpICh2KS5iZWdpbigpLCh2KS5lbmQoKQojZGVmaW5lIFJFUChpLHAsbikgZm9yKGludCBpPXA7aTwoaW50KShuKTsrK2kpCiNkZWZpbmUgcmVwKGksbikgUkVQKGksMCxuKQojZGVmaW5lIGR1bXAoYSkgKGNlcnIgPDwgI2EgPDwgIj0iIDw8IChhKSA8PCBlbmRsKQojZGVmaW5lIERVTVAobGlzdCkgY291dCA8PCAieyAiOyBmb3IoYXV0byBudGggOiBsaXN0KXsgY291dCA8PCBudGggPDwgIiAiOyB9IGNvdXQgPDwgIn0iIDw8IGVuZGw7CnRlbXBsYXRlPGNsYXNzIFQ+IGlubGluZSBib29sIGNobWF4KFQmIGEsIFQgYikgeyBpZiAoYSA8IGIpIHsgYSA9IGI7IHJldHVybiB0cnVlOyB9IHJldHVybiBmYWxzZTsgfQp0ZW1wbGF0ZTxjbGFzcyBUPiBpbmxpbmUgYm9vbCBjaG1p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AgICAgICB9CiAgICB9CiAgICBsbCBhbnMgPSAwOwogICAgcmVwKGksIG4rMSkgY2htYXgoYW5zLCBkcFtuXVtpXSk7CiAgICBjb3V0IDw8IGFucyA8PCBlbmRsOwogICAgcmV0dXJuIDA7Cgp9"
Project_CodeNet_C++1000/p02709/s433137196
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiNkZWZpbmUgcmVwKGksIG4pIGZvcihpbnQgaSA9IDAsIGkjI19sZW4gPSAobik7IGkgPCBpIyNfbGVuOyArK2kpCiNkZWZpbmUgYWxsKG4pIGJlZ2luKG4pLCBlbmQobikKdXNpbmcgbGwgPSBsb25nIGxvbmc7CnVzaW5nIFAgPSBwYWlyPGxsLCBsbD47CnVzaW5nIHZsID0gdmVjdG9yPGxsPjsKCmludCBtYWluKCkgewogIGxsIG47CiAgY2luID4+IG47CiAgdmVjdG9yPFA+IHAobik7CiAgcmVwKGksIG4pIHsKICAgIGludCBhOwogICAgY2luID4+IGE7CiAgICBwW2ldID0ge2EsIGl9OwogIH0KICBzb3J0KGFsbChwKSwgZ3JlYXRlcjw+KCkpOwogIHZlY3Rvcjx2bD4gZHAobiArIDEsIHZsKG4gKyAxLCAwKSk7CiAgcmVwKHcsIG4pIHJlcChpLCB3ICsgMSkgewogICAgaW50IGogPSB3IC0gaTsKICAgIGxsIGEsIHg7CiAgICB0aWUoYSwgeCkgPSBwW3ddOwogICAgZHBbaSArIDFdW2pdID0gbWF4KGRwW2kgKyAxXVtqXSwgZHBbaV1bal0gKyBhICogYWJzKHggLSBpKSk7CiAgICBkcFtpXVtqICsgMV0gPSBtYXgoZHBbaV1baiArIDFdLCBkcFtpXVtqXSArIGEgKiBhYnMobiAtIGogLSB4IC0gMSkpOwogIH0KICBsbCBhbnMgPSAwOwogIHJlcChpLCBuICsgMSkgYW5zID0gbWF4KGFucywgZHBbaV1bbiAtIGldKTsKICBjb3V0IDw8IGFucyA8PCBlbmRsOwp9"
Project_CodeNet_C++1000/p02709/s198411981
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnVzaW5nIGxsPWxvbmcgbG9uZzsKdXNpbmcgdmI9dmVjdG9yPGJvb2w+Owp1c2luZyB2dmI9dmVjdG9yPHZiPjsKdXNpbmcgdmQ9dmVjdG9yPGRvdWJsZT47CnVzaW5nIHZ2ZD12ZWN0b3I8dmQ+Owp1c2luZyB2aT12ZWN0b3I8aW50PjsKdXNpbmcgdnZpPXZlY3Rvcjx2aT47CnVzaW5nIHZsPXZlY3RvcjxsbD47CnVzaW5nIHZ2bD12ZWN0b3I8dmw+Owp1c2luZyBwaWk9cGFpcjxpbnQsaW50PjsKdXNpbmcgcGxsPXBhaXI8bGwsbGw+Owp1c2luZyB0bGw9dHVwbGU8bGwsbGw+Owp1c2luZyB0bGxsPXR1cGxlPGxsLGxsLGxsPjsKdXNpbmcgdnM9dmVjdG9yPHN0cmluZz47CgojZGVmaW5lIGFsbChhKSBhLmJlZ2luKCksYS5lbmQoKQojZGVmaW5lIHJhbGwoYSkgYS5yYmVnaW4oKSxhLnJlbmQoKQojZGVmaW5lIHJlcChpLG4pIHJhbmdlKGksMCxuKQojZGVmaW5lIHJyZXAoaSxuKSBmb3IobGwgaT0obiktMTtpPj0wO2ktLSkKI2RlZmluZSByYW5nZShpLGEsbikgZm9yKGxsIGk9KGEpO2k8KG4pO2krK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aStqXS5zYy1pKSp2W2kral0uZnMpOwoJCWNobWF4KGRwW2ldW2orMV0sZHBbaV1bal0rYWJzKG4tMS12W2kral0uc2MtaikqdltpK2pdLmZzKTsKCX0KCWxsIGFucz0tMTsKCXJlcChpLG4rMSljaG1heChhbnMsZHBbaV1bbi1pXSk7CglwdXRhKGFucyk7Cn0K"
Project_CodeNet_C++1000/p02709/s623261893
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgp0eXBlZGVmIGxvbmcgbG9uZyBsbDsKdHlwZWRlZiBwYWlyPGludCwgaW50PiBpaTsKCmludCBuOwpjb25zdCBpbnQgTiA9IDIwMDE7CmxsIGRwW05dW05dOwppbnQgYVtOXTsKaW50IHBbTl07CgppbnQgbWFpbigpIHsKICBpb3M6OnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7CiAgY2luLnRpZSgwKTsKCiAgY2luID4+IG47CiAgZm9yIChpbnQgaSA9IDA7IGkgPCBuOyArK2kpIHsKICAgIGNpbiA+PiBhW2ldOwogIH0KICBpb3RhKHAsIHAgKyBuLCAwKTsKICBzb3J0KHAsIHAgKyBuLCBbJl0oaW50IGwsIGludCByKSB7CiAgICByZXR1cm4gYVtsXSA+IGFbcl07CiAgfSk7CgogIGZvciAoaW50IGkgPSAwOyBpIDwgbjsgKytpKSB7CiAgICBmb3IgKGludCBqID0gMDsgaSArIGogPCBuOyArK2opIHsKICAgICAgaW50IGsgPSBpICsgajsKICAgICAgaW50IGluZGV4ID0gcFtrXTsKICAgICAgaW50IHZhbHVlID0gYVtpbmRleF07CiAgICAgIGRwW2kgKyAxXVtqXSA9IG1heChkcFtpICsgMV1bal0sCiAgICAgICAgICAgICAgICAgICAgICAgICBkcFtpXVtqXSArIDFMTCAqIGFicyhpbmRleCAtIGkpICogdmFsdWUpOwogICAgICBkcFtpXVtqICsgMV0gPSBtYXgoZHBbaV1baiArIDFdLAogICAgICAgICAgICAgICAgICAgICAgICAgZHBbaV1bal0gKyAxTEwgKiBhYnMobiAtIDEgLSBqIC0gaW5kZXgpICogdmFsdWUpOwogICAgfQogIH0KICBsbCByZXMgPSAwOwogIGZvciAoaW50IGkgPSAwOyBpIDw9IG47ICsraSkgewogICAgaW50IGogPSBuIC0gaTsKICAgIHJlcyA9IG1heChyZXMsIGRwW2ldW2pdKTsKICB9CiAgY291dCA8PCByZXMgPDwgZW5kbDsKCiAgcmV0dXJuIDA7Cn0K"
Project_CodeNet_C++1000/p02709/s350516226
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CgojaW5jbHVkZSA8aW9zdHJlYW0+Ci8vI2luY2x1ZGUgPGFsZ29yaXRobT4KLy8gI2luY2x1ZGUgPGlvbWFuaXA+CiNkZWZpbmUgbGwgbG9uZyBsb25nCiNkZWZpbmUgbWFwIHVub3JkZXJlZF9tYXAKI2RlZmluZSBzZXQgdW5vcmRlcmVkX3NldAoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmNvbnN0IGxsIE1PRCA9IDEwMDAwMDAwMDc7CmNvbnN0IGxsIElORiA9ICgxTEwgPDwgNjIpOwoKbGwgZHBbMjAwNV1bMjAwNV07CgppbnQgbWFpbigpIHsKICBsbCBOOwogIHNjYW5mKCIlbGxkIiwgJk4pOwoKICB2ZWN0b3I8cGFpcjxsbCwgbGw+PiBsaXN0KE4pOwogIGZvciAobGwgaSA9IDA7IGkgPCBOOyBpKyspIHsKICAgI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PD0gTjsgaSsrKSB7CiAgICBhbnMgPSBtYXgoYW5zLCBkcFtpXVtOIC0gaV0pOwogIH0KCiAgY291dCA8PCBhbnMgPDwgZW5kbDsKfQo="
Project_CodeNet_C++1000/p02709/s282943696
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8aW9zdHJlYW0+CiNpbmNsdWRlPGZzdHJlYW0+CiNpbmNsdWRlPGNzdGRpbz4KI2luY2x1ZGU8YWxnb3JpdGhtPgojaW5jbHVkZTxjbWF0aD4KI2luY2x1ZGU8dmVjdG9yPgojaW5jbHVkZTxkZXF1ZT4KI2luY2x1ZGU8c2V0PgojaW5jbHVkZTxtYXA+CiNpbmNsdWRlPGJpdHNldD4KI2luY2x1ZGU8Y3RpbWU+CiNpbmNsdWRlPHF1ZXVlPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwojZGVmaW5lIGludCBsb25nIGxvbmcKI2RlZmluZSBwaWkgcGFpciA8aW50LCBpbnQ+CiNkZWZpbmUgWFggZmlyc3QKI2RlZmluZSBZWSBzZWNvbmQKCi8vIGNvbnN0YW50czoKY29uc3QgaW50IG1uID0gMjAwNTsKY29uc3QgaW50IG1vZCA9IDEwMDAwMDAwMDc7CmNvbnN0IGxvbmcgbG9uZyBpbmYgPSA0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0Owpjb25zdCBpbnQgc21pbmYgPSAxMTExMTExMTExOwpjb25zdCBib29sIGlzX211bHRpdGVzdCA9IDA7CmNvbnN0IGJvb2wgaXNfaW50ZXJhY3RpdmUgPSAwOwoKLy8gaS9vIG1ldGhvZHM6CmNvbnN0IGJvb2wgaW5wdXRfZnJvbV9maWxlID0gMDsKY29uc3QgYm9vbCBvdXRwdXRfdG9fZmlsZSA9IDA7CiNkZWZp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ja2VyIGN1cCB0ZXN0IGZvcm1hdAogICAgewogICAgICAgIGV4ZWN1dGUodGVzdG5vKTsgLy8gb25seSBzdGFydCBjb2RpbmcgaW4gdGhpcyBmdW5jdGlvbiwgbm90IGluIG1haW4KICAgIH0KfQovLyBUZW1wbGF0ZSBieSBsb3dfCi8vIENvbnRhY3QgbWUgdmlhIG1haWw6IHR0dWFuZHVuZzE4MDNAZ21haWwuY29tCi8vIC4uLm9yIGNvZGVmb3JjZXM6IHd3dy5jb2RlZm9yY2VzLmNvbS9wcm9maWxlcy9sb3dfCi8vIC4uLm9yIGlmIHlvdSdyZSBpbnRlcmVzdGVkIGluIGZvb2Q6IHd3dy5pbnN0YWdyYW0uY29tL2xvd2llLmV4ZS8="
Project_CodeNet_C++1000/p02709/s092055630
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CiNpbmNsdWRlIDxleHQvcGJfZHMvYXNzb2NfY29udGFpbmVyLmhwcD4KI2luY2x1ZGUgPGV4dC9wYl9kcy90cmVlX3BvbGljeS5ocHA+CiAKI2RlZmluZSBpbnQgbG9uZyBsb25nCiNkZWZpbmUgdWxsIHVuc2lnbmVkIGxvbmcgbG9uZwojZGVmaW5lIGxkIGxvbmcgZG91YmxlCiNkZWZpbmUgcmVwKGEpIHJlcDEoaSxhKQojZGVmaW5lIHJlcDEoaSxhKSByZXAyKGksMCxhKQojZGVmaW5lIHJlcDIoaSxiLGEpIGZvcihpbnQgaT0oYik7IGk8KChpbnQpKGEpKTsgaSsrKQojZGVmaW5lIHJlcDMoaSxiLGEpIGZvcihpbnQgaT0oYik7IGk+PSgoaW50KShhKSk7IGktLSkKI2RlZmluZSBhbGwoYSkgYS5iZWdpbigpLGEuZW5kKCkKI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RD9hLWI6YStNT0QtYik7fQppbnQgUG93KGludCBhLCBpbnQgYil7CglpZighYikgcmV0dXJuIDE7CglpbnQgdG1wPVBvdyhhKmElTU9ELGI+PjEpOwoJcmV0dXJuIChiJjE/dG1wKmElTU9EOnRtcCk7Cn0KaW5saW5lIGludCBpbnZlcnNlKGludCBuKXtyZXR1cm4gUG93KG4sTU9ELTIpO30KIApjb25zdCBpbnQgbWF4bj0yMDA1OwovL2lfYW1fbm9vYgppbnQgbixhW21heG5dLGlkW21heG5dLGRwW21heG5dW21heG5dLGFucz0tNGUxODsKCmJvb2wgY29tcChpbnQgaSwgaW50IGope3JldHVybiBhW2ldPmFbal07fQoKc2lnbmVkIG1haW4oKXsKCWlvc19iYXNlOjpzeW5jX3dpdGhfc3RkaW8oMCksY2luLnRpZSgwKTsKCWNpbiA+PiBuOwoJcmVwKG4pIGNpbiA+PiBhW2ldOwoJcmVwKG4pIGlkW2ldPWk7Cglzb3J0KGlkLGlkK24sY29tcCk7Cglzb3J0KGEsYStuKTsKCXJldmVyc2UoYSxhK24pOwoJZHBbMF1bMF09MDsKCXJlcDIoaSwxLG4rMSkgcmVwMShqLGkrMSl7CgkJZHBbal1baS1qXT0tNGUxODsKCQlpZihqPjApIGRwW2pdW2ktal09bWF4KGRwW2pdW2ktal0sZHBbai0xXVtpLWpdK2FicyhpZFtpLTFdLShqLTEpKSphW2ktMV0pOwoJCWlmKGktaj4wKSBkcFtqXVtpLWpdPW1heChkcFtqXVtpLWpdLGRwW2pdW2ktai0xXSthYnMoaWRbaS0xXS0obi1pK2opKSphW2ktMV0pOwoJfQoJcmVwMShqLG4rMSkgYW5zPW1heChhbnMsZHBbal1bbi1qXSk7CglwcmludDEoYW5zKTsKCXJldHVybiAwOwp9"
Project_CodeNet_C++1000/p02709/s513994851
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CgojZGVmaW5lIGxvbmcgbG9uZyBsb25nIGludAp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKLy8gQGF1dGhvcjogcGFzaGthCgppbnQgbWFpbigpIHsKICAgIGlvczo6c3luY193aXRoX3N0ZGlvKGZhbHNlKTsKCiAgICBpbnQgbjsKICAgIGNpbiA+PiBuOwogICAgdmVjdG9yPGludD4gYShuKTsKICAgIGZvciAoaW50IGkgPSAwOyBpIDwgbjsgaSsrKSB7CiAgICAgICAgY2luID4+IGFbaV07CiAgICB9CiAgICB2ZWN0b3I8cGFpcjxpbnQsIGludD4+IHEobik7CiAgICBmb3IgKGludCBpID0gMDsgaSA8IG47IGkrKykgewogICAgICAgIHFbaV0gPSB7YVtpXSwgaX07CiAgICB9CiAgICBzb3J0KHEucmJlZ2luKCksIHEucmVuZCgpKTsKCiAgICB2ZWN0b3I8dmVjdG9yPGxvbmc+PiBkKG4gKyAxLCB2ZWN0b3I8bG9uZz4obiArIDEsIExMT05HX01JTikpOwogICAgZFswXVswXSA9IDA7CiAgICBmb3IgKGludCBpID0gMDsgaSA8IG47IGkrKykgewogICAgICAgIGZvciAoaW50IGogPSAwOyBqIDw9IGk7IGorKykgewogICAgICAgICAgICBpZiAoZFtpXVtqXSA9PSBMTE9OR19NSU4pIGNvbnRpbnVlOwogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAvL2xlZnQKICAgICAgICAgICAgICAgIGRbaSArIDFdW2ogKyAxXSA9IG1heChkW2kgKyAxXVtqICsgMV0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZFtpXVtqXSArCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxvbmcpIHFbaV0uZmlyc3QgKiBhYnMocVtpXS5zZWNvbmQgLSBqKQogICAgICAgICAgICAgICAgKTsKICAgICAgICAgICAgfQogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAvL3JpZ2h0CiAgICAgICAgICAgICAgICBkW2kgKyAxXVtqXSA9IG1heChkW2kgKyAxXVtqXSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRbaV1bal0gKwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxvbmcpIHFbaV0uZmlyc3QgKiBhYnMocVtpXS5zZWNvbmQgLSAobiAtIDEgLSAoaSAtIGopKSkKICAgICAgICAgICAgICAgICk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9CiAgICBsb25nIHJlcyA9IDA7CiAgICBmb3IgKGludCBqID0gMDsgaiA8PSBuOyBqKyspIHsKICAgICAgICByZXMgPSBtYXgocmVzLCBkW25dW2pdKTsKICAgIH0KICAgIGNvdXQgPDwgcmVzOwoKICAgIHJldHVybiAwOwp9"
Project_CodeNet_C++1000/p02709/s661710671
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxhbGdvcml0aG0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgTjsgcGFpcjxpbnQsIGludD4gUFsyMDIwXTsKbG9uZyBsb25nIERbMjAyMF1bMjAyMF07CgppbnQgbWFpbigpCnsKCXNjYW5mICgiJWQiLCAmTik7Cglmb3IgKGludCBpID0gMDsgaSA8IE47IGkrKykgc2NhbmYgKCIlZCIsICZQW2ldLmZpcnN0KSwgUFtpXS5zZWNvbmQgPSBpOwoJc29ydChQLCBQICsgTik7CglyZXZlcnNlKFAsIFAgKyBOKTsKCglmb3IgKGludCBpID0gMDsgaSA8IE47IGkrKykgZm9yIChpbnQgaiA9IDA7IGkgKyBqIDwgTjsgaisrKXsKCQlpbnQgayA9IGkgKyBqOwoJCURbaSArIDFdW2pdID0gbWF4KERbaSArIDFdW2pdLCBEW2ldW2pdICsgMWxsICogUFtrXS5maXJzdCAqIGFicyhQW2tdLnNlY29uZCAtIGkpKTsKCQlEW2ldW2ogKyAxXSA9IG1heChEW2ldW2ogKyAxXSwgRFtpXVtqXSArIDFsbCAqIFBba10uZmlyc3QgKiBhYnMoUFtrXS5zZWNvbmQgLSAoTiAtIDEgLSBqKSkpOwoJfQoKCWxvbmcgbG9uZyBhID0gMDsKCWZvciAoaW50IGkgPSAwOyBpIDw9IE47IGkrKyl7CgkJYSA9IG1heChhLCBEW2ldW04gLSBpXSk7Cgl9CglwcmludGYgKCIlbGxkXG4iLCBhKTsKCglyZXR1cm4gMDsKfQo="
Project_CodeNet_C++1000/p02709/s429879833
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnR5cGVkZWYgbG9uZyBsb25nIExMOwp0eXBlZGVmIHBhaXI8TEwsIExMPiBQSUk7CgovLyBjaG1heCwgY2htaW4KdGVtcGxhdGUgPGNsYXNzIFQ+CmlubGluZSBib29sIGNobWF4KFQgJmEsIFQgYikKewogIGlmIChhIDwgYikKICB7CiAgICBhID0gYjsKICAgIHJldHVybiAxOwogIH0KICByZXR1cm4gMDsKfQp0ZW1wbGF0ZSA8Y2xhc3MgVD4KaW5saW5lIGJvb2wgY2htaW4oVCAmYSwgVCBiKQp7CiAgaWYgKGEgPiBiKQogIHsKICAgIGEgPSBiOwogICAgcmV0dXJuIDE7CiAgfQogIHJldHVybiAwOwp9Cgp0ZW1wbGF0ZSA8dHlwZW5hbWUgVD4KZnVuY3Rpb248VChULCBUKT4gb3Bf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RbbWlkXS5zZWNvbmQgLSBsZWZ0KTsKICAgICAgTEwgY29zdFIgPSBpbnB1dFttaWRdLmZpcnN0ICogYWJzKGlucHV0W21pZF0uc2Vjb25kIC0gcmlnaHQpOwogICAgICBkcFtsZWZ0XVtyaWdodF0gPSBjb3N0TDsKICAgICAgaWYgKG1pZCA9PSAwKQogICAgICAgIGNvbnRpbnVlOwogICAgICBkcFtsZWZ0XVtyaWdodF0gPSBtYXgoZHBbbGVmdCArIDFdW3JpZ2h0XSArIGNvc3RMLCBkcFtsZWZ0XVtyaWdodCAtIDFdICsgY29zdFIpOwogICAgfQogIH0KICBjb3V0IDw8IGRwWzBdW04gLSAxXSA8PCBlbmRsOwp9CgppbnQgbWFpbigpCnsKICBjb3V0IDw8IHNldHByZWNpc2lvbigxMCk7CiAgbG9uZyBsb25nIE47CiAgc2NhbmYoIiVsbGQiLCAmTik7CiAgc3RkOjp2ZWN0b3I8bG9uZyBsb25nPiBBKE4pOwogIGZvciAoaW50IGkgPSAwOyBpIDwgTjsgaSsrKQogIHsKICAgIHNjYW5mKCIlbGxkIiwgJkFbaV0pOwogIH0KICBzb2x2ZShOLCBzdGQ6Om1vdmUoQSkpOwogIHJldHVybiAwOwp9Cg=="
Project_CodeNet_C++1000/p02709/s492872543
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KI2RlZmluZSBsbCBsb25nIGxvbmcKI2RlZmluZSB4eCBmaXJzdAojZGVmaW5lIHl5IHNlY29uZAp1c2luZyBuYW1lc3BhY2Ugc3RkOwpsbCBtZW1bMjAwM11bMjAwM10sIG47CnR5cGVkZWYgcGFpcjxsbCwgaW50PnBpOwpwaSBwWzIwMDNdOwpsbCBkcChpbnQgbCwgaW50IHIpCnsKICAgIGlmKGw+cilyZXR1cm4gMDsKICAgIGlmKG1lbVtsXVtyXSE9LTEpcmV0dXJuIG1lbVtsXVtyXTsKICAgIGludCBwb3M9IGwrbi1yLTE7CiAgICByZXR1cm4gbWVtW2xdW3JdPSBtYXgocFtwb3NdLnh4KmFicyhwW3Bvc10ueXktbCkrZHAobCsxLCByKSwgcFtwb3NdLnh4KmFicyhwW3Bvc10ueXktcikrZHAobCwgci0xKSk7Cn0KaW50IG1haW4oKQp7CiAgICBzY2FuZigiJWxsZCIsICZuKTsKICAgIGZvcihpbnQgaT0wOyBpPG47IGkrKykKICAgIHNjYW5mKCIlbGxkIiwgJnBbaV0ueHgpLCBwW2ldLnl5PSBpOwogICAgc29ydChwLCBwK24sIGdyZWF0ZXI8cGk+KCkpOwogICAgbWVtc2V0KG1lbSwgLTEsIHNpemVvZiBtZW0pOwogICAgcHJpbnRmKCIlbGxkXG4iLCBkcCgwLCBuLTEpKTsKICAgIHJldHVybiAwOwp9Cg=="
Project_CodeNet_C++1000/p02709/s182980836
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KLy8jaW5jbHVkZTxpb3N0cmVhbT4KLy8jaW5jbHVkZTxjc3RkaW8+Ci8vI2luY2x1ZGU8c3RkbGliLmg+Ci8vI2luY2x1ZGU8c3RyaW5nLmg+Ci8vI2luY2x1ZGU8YWxnb3JpdGhtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwojZGVmaW5lIFNQRUVEIGlvczo6c3luY193aXRoX3N0ZGlvKGZhbHNlKTsgY2luLnRpZSgwKTsgY291dC50aWUoMCkKI2RlZmluZSBSRUFEIGZyZW9wZW4oImluLnR4dCIsInIiLHN0ZGluKQojZGVmaW5lIFdSSVRF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fQogICAgbGwgJnJldD1kcFtsXVtyXTsKICAgIGlmKHJldCE9LTEpCiAgICAgICAgcmV0dXJuIHJldDsKICAgIHJldD0wOwogICAgbGwgdmFsPXZbcG9zXS5mZjsKICAgIGxsIHA9dltwb3NdLnNuOwogICAgcmV0PW1heChyZXQsdmFsKmFicyhwLWwpK2Z1bihwb3MrMSxsKzEscikpOwogICAgcmV0PW1heChyZXQsdmFsKmFicyhwLXIpK2Z1bihwb3MrMSxsLHItMSkpOwogICAgcmV0dXJuIHJldDsKfQppbnQgbWFpbigpCnsKICAgIG1lbShkcCwtMSk7CiAgICBzZihuKTsKICAgIGxsIHg7CiAgICBmb3IoaW50IGk9MDtpPG47aSsrKQogICAgewogICAgICAgIHNsKHgpOwogICAgICAgIHYucGIoe3gsaX0pOwogICAgfQogICAgc29ydCh2LmJlZ2luKCksdi5lbmQoKSk7CiAgICByZXZlcnNlKHYuYmVnaW4oKSx2LmVuZCgpKTsKICAgIGNvdXQ8PGZ1bigwLDAsbi0xKTw8ZW5kbDsKICAgIHJldHVybiAwOwp9Cg=="
Project_CodeNet_C++1000/p02709/s488185476
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"Ly8gSU9JIDIwMjEKI2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgojZGVmaW5lIGVuZGwgJ1xuJwojZGVmaW5lIGVuZHMgJyAnCiNkZWZpbmUgZGllKHgpIHJldHVybiBjb3V0IDw8IHggPDwgZW5kbCwgMAojZGVmaW5lIGFsbCh2KSB2LmJlZ2luKCksIHYuZW5kKCkKI2RlZmluZSBzeih4KSAoaW50KSh4LnNpemUoKSkKdm9pZCBkZWJ1Z19vdXQoKSB7IGNlcnIgPDwgZW5kbDsgfQp0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2ldXSAqICgoUFtpXSArIDEpIC0geCkpOwoJCWlmICh5KSBEUFt4XVt5XSA9IG1heChEUFt4XVt5XSwgRFBbeF1beSAtIDFdICsgMUxMICogQVtQW2ldXSAqICgobiAtIHkgKyAxKSAtIChQW2ldICsgMSkpKTsKCQlpZiAoeCArIHkgPT0gbikgYW5zID0gbWF4KGFucywgRFBbeF1beV0pOwoJfQoJY291dCA8PCBhbnMgPDwgZW5kbDsKCglyZXR1cm4gMDsKfQo="
Project_CodeNet_C++1000/p02709/s153795546
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKdHlwZWRlZiBsb25nIGxvbmcgbGw7CmxsIGRwWzIwMDVdWzIwMDVdOyAgIC8vIGRwW2ldW2pdIOWJjSBpIOS4quS6uuaUvuS6hiBqIOS4quW3pui+ueeahApsbCBuLG1hOwpzdHJ1Y3Qgc3R1CnsKICAgIGxsIHBvcyx3Owp9YVsyMDA0XTsKYm9vbCBjbXAoc3R1IHUsc3R1IHYpCnsKICAgIHJldHVybiB1Lnc8di53Owp9CmludCBtYWluKCkKewogICAgY2luPj5uOwogICAgZm9yKGludCBpPTE7aTw9bjtpKyspCiAgICB7CiAgICAgICAgc2NhbmYoIiVsbGQiLCZhW2ldLncpOwogICAgICAgIGFbaV0ucG9zPWk7CiAgICB9CiAgICBzb3J0KGErMSxhK24rMSxjbXApOwogICAgLy9mb3IoaW50IGk9MTtpPD1uO2krKykgZHBbaV1baV09YVsxXS53KmFicyhhWzFdLnBvcy1pKTsgIC8vIOaemuS4vuacgOWwj+eahOaMquWIsOavj+S4gOS4quS9jee9rgogICAgZm9yKGludCBsZW49MTtsZW48PW47bGVuKyspCiAgICB7CiAgICAgICAgZm9yKGludCBpPTE7aStsZW4tMTw9bjtpKyspCiAgICAgICAgewogICAgICAgICAgICBpbnQgaj1pK2xlbi0xOwogICAgICAgICAgICAvLyDliY0gbGVuIOS4quaVsOacgOWkp+eahOS4uiBhW2xlbl0ud++8jOaemuS4vmFbbGVuXeaUvueahOS9jee9rgogICAgICAgICAgICBkcFtpXVtqXT1tYXgoZHBbaSsxXVtqXSthW2xlbl0udyphYnMoYVtsZW5dLnBvcy1pKSwgIC8vIOaUvuW3pui+uQogICAgICAgICAgICAgICAgICAgICAgICAgZHBbaV1bai0xXSthW2xlbl0udyphYnMoYVtsZW5dLnBvcy1qKSk7IC8vIOaUvuWPs+i+uQogICAgICAgIH0KICAgIH0KICAgIGNvdXQ8PGRwWzFdW25dOwogICAgcmV0dXJuIDA7Cn0K"
Project_CodeNet_C++1000/p02709/s729680956
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CiNpbmNsdWRlIDxleHQvcGJfZHMvYXNzb2NfY29udGFpbmVyLmhwcD4gCnVzaW5nIG5hbWVzcGFjZSBfX2dudV9wYmRzOwp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdHlwZWRlZiBsb25nIGxvbmcgaW50IGxsaTsKI2RlZmluZSBpbnQgbGxpCnR5cGVkZWYgcGFpcjxpbnQsIGludD4gcGlpOwp0eXBlZGVmIHBhaXI8bGxpLCBsbGk+IHBsbDsKdHlwZWRlZiB2ZWN0b3I8aW50PiB2aTsKdHlwZWRlZiB2ZWN0b3I8bGxpPiB2bGk7CnR5cGVkZWYgdmVjdG9yPHBpaT4gdmlpOwp0eXBlZGVmIHRyZWU8aW50LCBudWxsX3R5cGUsIGxlc3M8aW50PiwgcmJfdH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sVCB5KXsgeCA9IG1pbigoeCksICh5KSk7fQoKCnNpZ25lZCBtYWluKCl7CiAgICAvLyAjaWZuZGVmIE9OTElORV9KVURHRQoJLy8gCWZyZW9wZW4oInRlc3QiLCAiciIsIHN0ZGluKTsKCS8vICNlbmRpZgogICAgZmFzdGlvOwogICAgCiAgICBpbnQgTjsKICAgIGNpbiA+PiBOOwoKICAgIHZpaSBhKE4pOwogICAgcmVwKGksIE4pewogICAgICAgIGNpbiA+PiBhW2ldLmZpcnN0OwogICAgICAgIGFbaV0uc2Vjb25kID0gaSArIDE7CiAgICB9IAoKICAgIHZlY3Rvcjx2bGk+IGRwKE4gKyA1LCB2bGkoTiArIDUsIDApKTsKCiAgICAvL2RwW2N1cnJfaW5kZXhdW2hvd19tYW55X2luX2xlZnRdOwoKICAgIHNvcnQoYWxsKGEpLCBncmVhdGVyPHBpaT4oKSk7CgogICAgcmVwQShpLCAxLCBOKXsKICAgICAgICByZXBBKGosIDAsIGkgLSAxKXsKICAgICAgICAgICAgaW50IEwgPSBqOwogICAgICAgICAgICBpbnQgUiA9IGkgLSAxIC0gajsKICAgICAgICAgICAgc21heChkcFtMICsgMV1bUl0sIGRwW0xdW1JdICsgYWJzKEwgKyAxIC0gYVtpIC0gMV0uc2Vjb25kKSphW2kgLSAxXS5maXJzdCk7CiAgICAgICAgICAgIFIgPSBqOwogICAgICAgICAgICBMID0gaSAtIDEgLSBqOwogICAgICAgICAgICBzbWF4KGRwW0xdW1IgKyAxXSwgZHBbTF1bUl0gKyBhYnMoTiAtIFIgLSBhW2kgLSAxXS5zZWNvbmQpKmFbaSAtIDFdLmZpcnN0KTsKICAgICAgICB9CiAgICB9CgogICAgbGxpIGFucyA9IDA7CiAgICByZXAoaSwgTiArIDEpewogICAgICAgIHNtYXgoYW5zLCBkcFtpXVtOIC0gaV0pOwogICAgfQoKICAgIGNvdXQgPDwgYW5zIDw8IGVuZGw7CiAgICByZXR1cm4gMDsKfQ=="
Project_CodeNet_C++1000/p02709/s709869535
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgojZGVmaW5lIFNaKHYpICgoaW50KSh2KS5zaXplKCkpCnVzaW5nIGxsID0gbG9uZyBsb25nOwoKaW50IG1haW4odm9pZCkKewoJaW9zX2Jhc2U6OnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7IGNpbi50aWUoMCk7IGNvdXQudGllKDApOwoKCWludCBuYl9lbmZhbnRzOwoJY2luID4+IG5iX2VuZmFudHM7Cgl2ZWN0b3I8cGFpcjxsbCwgaW50PiA+IHZhbChuYl9lbmZhbnRzKTsKCWZvciAoaW50IGkgPSAwOyBpIDwgbmJfZW5mYW50czsgKytpKQoJewoJCWNpbiA+PiB2YWxbaV0uZmlyc3Q7CgkJdmFsW2ldLnNlY29uZCA9IGk7Cgl9Cglzb3J0KHZhbC5yYmVnaW4oKSwgdmFsLnJlbmQoKSk7CgoJdmVjdG9yPHZlY3RvcjxsbD4gPiBkcChuYl9lbmZhbnRzKTsKCWZvciAoaW50IGkoMCk7IGkgPCBuYl9lbmZhbnRzOyArK2kpCgkJZHBbaV0ucmVzaXplKG5iX2VuZmFudHMrMSk7CgoJZm9yIChpbnQgaSA9IDA7IGkgPCBuYl9lbmZhbnRzOyArK2kpCgkJZm9yIChpbnQgZ2F1Y2hlKDApOyBnYXVjaGUgPD0gaTsgKytnYXVjaGUpCgkJewoJCQlkcFtpXVtnYXVjaGUrMV0gPSB2YWxbaV0uZmlyc3QgKiAodmFsW2ldLnNlY29uZCAtIGdhdWNoZSkgKyAoaSA/IGRwW2ktMV1bZ2F1Y2hlXTowKTsKCQkJZHBbaV1bZ2F1Y2hlXSA9IG1heChkcFtpXVtnYXVjaGVdLCB2YWxbaV0uZmlyc3QgKiAobmJfZW5mYW50cyAtIChpIC0gZ2F1Y2hlKSAtIDEgLSB2YWxbaV0uc2Vjb25kKSArIChpP2RwW2ktMV1bZ2F1Y2hlXTowKSk7CgkJfQoJbGwgYW5zKDApOwoJZm9yIChpbnQgaSgwKTsgaSA8PSBuYl9lbmZhbnRzOyArK2kpCgkJYW5zID0gbWF4KGRwW25iX2VuZmFudHMtMV1baV0sIGFucyk7Cgljb3V0IDw8IGFucyA8PCBlbmRsOwp9Cg=="
Project_CodeNet_C++1000/p02709/s975200523
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgp1c2luZyBpbnQzMiA9IGludF9mYXN0MzJfdDsKdXNpbmcgaW50NjQgPSBpbnRfZmFzdDY0X3Q7Cgpjb25zdCBpbnQzMiBJTkYgPSAxZTk7CmNvbnN0IGludDMyIE1PRCA9IDFlOSs3Owpjb25zdCBpbnQ2NCBMTElORiA9IDFlMTg7CgojZGVmaW5lIFlFUyhuKSBjb3V0IDw8ICgobikgPyAiWUVTXG4iIDogIk5PXG4iICApCiNkZWZpbmUgWWVzKG4pIGNvdXQgPDwgKChuKSA/ICJZZXNcbiIgOiAiTm9cbiIgICkKI2RlZmluZSBQT1NTSUJMRSBjb3V0IDw8ICgobikgPyAiUE9TU0lCTEVcbiIgOiAiSU1QT1NTSUJMRVxuIiAgKQojZGVmaW5lIEFOUyhuKSBjb3V0IDw8IChuKSA8PCAiXG4iCiNkZWZpbmUgUkVQKGksbikgZm9yKGludDY0IGk9MDtpPChuKTsrK2kpCiNkZWZpbmUgRk9SKGksYSxiKSBmb3IoaW50NjQgaT0oYSk7aTwoYik7aSsrKQojZGVmaW5lIEZPUlIoaSxhLGIpIGZvcihpbnQ2NCBpPShhKTtpPj0oYik7aS0tKQojZGVmaW5lIEFMTChvYmopIChvYmopLmJlZ2luKCksKG9iaikuZW5kKCkKI2RlZmluZSBwaWkgcGFpcjxpbnQzMixpbnQzMj4KI2RlZmluZSBwbGwgcGFpcjxpbnQ2NCxpbnQ2ND4KI2RlZmluZSBwYihhKSBwdXNoX2JhY2soYSkKCmludCBtYWluKCl7CiAgICBjaW4udGllKDApOwogICAgaW9zOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpOwogICAgaW50MzIgbjsKICAgIGNpbiA+PiBuOwogICAgdmVjdG9yPHBpaT4gYShuKTsKICAgIFJFUChpLG4pewogICAgICAgIGNpbiA+PiBhW2ldLmZpcnN0OwogICAgICAgIGFbaV0uc2Vjb25kID0gaTsKICAgIH0KICAgIHNvcnQoYS5yYmVnaW4oKSxhLnJlbmQoKSk7CiAgICB2ZWN0b3I8dmVjdG9yPGludDY0Pj4gZHAobisxLHZlY3RvcjxpbnQ2ND4obisxLC1MTElORikpOyAvL2nnlarnm67jgb7jgafjga7jgYbjgaFqLTHlgIvjgpLlt6bjgavmjK/jgaPjgZ8KICAgIGRwWzBdWzBdID0gMDsKICAgIFJFUChpLG4pewogICAgICAgIFJFUChqLG4pewogICAgICAgICAgICBpZihpICsgaiA+PSBuKWNvbnRpbnVlOwogICAgICAgICAgICBkcFtpKzFdW2pdID0gbWF4KGRwW2krMV1bal0sIGRwW2ldW2pdICsgYVtpK2pdLmZpcnN0ICogYWJzKGkgLSBhW2kral0uc2Vjb25kKSk7CiAgICAgICAgICAgIGRwW2ldW2orMV0gPSBtYXgoZHBbaV1baisxXSwgZHBbaV1bal0gKyBhW2kral0uZmlyc3QgKiBhYnMobi0xLWogLSBhW2kral0uc2Vjb25kKSk7CiAgICAgICAgfQogICAgfQogICAgLy8gUkVQKGksbisxKXsKICAgIC8vICAgICBSRVAoaixuKzEpY291dCA8PCBkcFtpXVtqXSA8PCAiICI7CiAgICAvLyAgICAgY291dCA8PCBlbmRsOwogICAgLy8gfQogICAgaW50NjQgYW5zID0gMDsKICAgIFJFUChpLG4rMSlhbnMgPSBtYXgoYW5zLCBkcFtpXVtuLWldKTsKICAgIEFOUyhhbnMpOwogICAgcmV0dXJuIDA7Cn0="
Project_CodeNet_C++1000/p02709/s063877939
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnVzaW5nIGxsID0gbG9uZyBsb25nOwp1c2luZyBQID0gcGFpcjxpbnQsIGludD47CgpsbCBkcFsyMDA1XVsyMDA1XTsKCmludCBtYWluKCkgewogICAgbGwgbjsKICAgIGNpbiA+PiBuOwogICAgcGFpcjxsbCwgbGw+IGFbbl07CiAgICBmb3IgKGxsIGkgPSAwOyBpIDwgbjsgaSsrKSB7CiAgICAgICAgY2luID4+IGFbaV0uZmlyc3Q7CiAgICAgICAgYVtpXS5zZWNvbmQgPSBpOwogICAgfQogICAgc29ydChhLCBhICsgbiwgZ3JlYXRlcjxwYWlyPGxsLCBsbD4+KCkpOwogICAgbGwgYW5zID0gMDsKICAgIGZvciAobGwgbCA9IDA7IGwgPCBuOyBsKyspIHsKICAgICAgICBmb3IgKGxsIHIgPSAwOyByIDwgbjsgcisrKSB7CiAgICAgICAgICAgIGlmIChsICsgciA9PSBuKSB7CiAgICAgICAgICAgICAgICBhbnMgPSBtYXgoYW5zLCBkcFtsXVtyXSk7CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgfQogICAgICAgICAgICBkcFtsICsgMV1bcl0gPSBtYXgoZHBbbCArIDFdW3JdLCBkcFtsXVtyXSArIGFbbCArIHJdLmZpcnN0ICogYWJzKGFbbCArIHJdLnNlY29uZCAtIGwpKTsKICAgICAgICAgICAgZHBbbF1bciArIDFdID0gbWF4KGRwW2xdW3IgKyAxXSwgZHBbbF1bcl0gKyBhW2wgKyByXS5maXJzdCAqIGFicyhhW2wgKyByXS5zZWNvbmQgLSAobiAtIDEgLSByKSkpOwogICAgICAgIH0KICAgIH0KICAgIGNvdXQgPDwgYW5zIDw8IGVuZGw7Cn0="
Project_CodeNet_C++1000/p02709/s070531470
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ6OmxpdGVyYWxzOjpzdHJpbmdfbGl0ZXJhbHM7CnVzaW5nIGk2NCA9IHN0ZDo6aW50X2Zhc3Q2NF90Owp1c2luZyBzdGQ6OmNvdXQ7CnVzaW5nIHN0ZDo6Y2VycjsKdXNpbmcgc3RkOjplbmRsOwp1c2luZyBzdGQ6OmNpbjsKCnRlbXBsYXRlPHR5cGVuYW1lIFQ+CnN0ZDo6dmVjdG9yPFQ+IG1ha2VfdihzaXplX3QgYSl7cmV0dXJuIHN0ZDo6dmVjdG9yPFQ+KGEpO30KCnRlbXBsYXRlPHR5cGVuYW1lIFQsdHlwZW5hbWUuLi4gVHM+CmF1dG8gbWFrZV92KHNpemVfdCBhLFRzLi4uIHRzKXsKICByZXR1cm4gc3RkOjp2ZWN0b3I8ZGVjbHR5cGUobWFrZV92PFQ+KHRzLi4uKSk+KGEsbWFrZV92PFQ+KHRzLi4uKSk7Cn0KCmludCBtYWluKCkgewoJaW50IG47IHNjYW5mKCIlZCIsICZuKTsgc3RkOjp2ZWN0b3I8aTY0PiBhKG4pOwoJZm9yKGF1dG8mIHY6IGEpIHNjYW5mKCIlbGxkIiwgJnYpOwoKCXN0ZDo6dmVjdG9yPGludD4gYihuKTsKCXN0ZDo6aW90YShiZWdpbihiKSwgZW5kKGIpLCAwKTsKCXNvcnQoYmVnaW4oYiksIGVuZChiKSwgWyZdKGludCBpLCBpbnQgaikgeyByZXR1cm4gYVtpXSA+IGFbal07IH0pOwoKCWF1dG8gZHAgPSBtYWtlX3Y8aTY0PihuLCBuKTsKCWZvcihpbnQgaSA9IDA7IGkgPCBuOyBpKyspIGZvcihpbnQgaiA9IDA7IGogPCBuOyBqKyspIGRwW2ldW2pdID0gLTE7CglhdXRvIHNvbHZlID0gWyZdKGF1dG8mJiBzb2x2ZSwgaW50IGwsIGludCByKSAtPiBpNjQgewoJCWlmKGwgKyByID49IG4pIHJldHVybiAwOwoJCWlmKGRwW2xdW3JdICE9IC0xKSByZXR1cm4gZHBbbF1bcl07CgkJCgkJaW50IEwgPSBsLCBSID0gbiAtIHIgLSAxLCBpZHggPSBiW2wgKyByXTsKCQlpNjQgQSA9IHNvbHZlKHNvbHZlLCBsICsgMSwgcikgKyBhW2lkeF0gKiBzdGQ6OmFicyhpZHggLSBMKTsKCQlpNjQgQiA9IHNvbHZlKHNvbHZlLCBsLCByICsgMSkgKyBhW2lkeF0gKiBzdGQ6OmFicyhpZHggLSBSKTsKCQlyZXR1cm4gZHBbbF1bcl0gPSBzdGQ6Om1heChBLCBCKTsKCX07CgoJcHJpbnRmKCIlbGxkXG4iLCBzb2x2ZShzb2x2ZSwgMCwgMCkpOwkKCXJldHVybiAwOwp9Cg=="
Project_CodeNet_C++1000/p02709/s645533457
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgp0eXBlZGVmIGxvbmcgbG9uZyBpbnQgbGw7Cgpjb25zdCBpbnQgTiA9IDJlMyArIDU7CgpsbCBkcFtOXVtOXTsKCmludCBtYWluICgpIHsKICBpb3NfYmFzZTo6c3luY193aXRoX3N0ZGlvKGZhbHNlKTsKICBjaW4udGllKDApO2NvdXQudGllKDApOwoKICBpbnQgbjsKICBjaW4gPj4gbjsKICB2ZWN0b3IgPCBwYWlyIDwgaW50LCBpbnQgPiA+IGEgKG4gKyAxKTsKICBmb3IgKGludCBpID0gMTsgaSA8PSBuOyBpKyspIGNpbiA+PiBhW2ldLmZpcnN0LCBhW2ldLnNlY29uZCA9IGk7CgogIHNvcnQgKGEuYmVnaW4oKSArIDEsIGEuZW5kKCksIGdyZWF0ZXIgPCBwYWlyIDwgaW50LCBpbnQgPiA+ICgpKTsKCiAgZm9yIChpbnQgbCA9IG47IGwgPj0gMTsgbC0tKSB7CiAgICBmb3IgKGludCByID0gbDsgciA8PSBuOyByKyspIHsKICAgICAgaW50IGlkeCA9IGwgKyBuIC0gcjsKICAgICAgaW50IGkgPSBhW2lkeF0uc2Vjb25kOwogICAgICBpZiAoaWR4IDwgMSB8fCBpZHggPiBuKSBjb250aW51ZTsKICAgICAgaWYgKGwgPT0gcikgewogICAgICAgIGRwW2xdW3JdID0gKGxsKWFbbl0uZmlyc3QgKiBhYnMgKHIgLSBpKTsKICAgICAgICBjb250aW51ZTsKICAgICAgfQogICAgICBkcFtsXVtyXSA9IG1heCAoZHBbbCArIDFdW3JdICsgKGxsKWFbaWR4XS5maXJzdCAqIGFicyhpIC0gbCksIGRwW2xdW3IgLSAxXSArIChsbClhW2lkeF0uZmlyc3QgKiBhYnMociAtIGkpKTsKICAgIH0KICB9CgogIGNvdXQgPDwgZHBbMV1bbl0gPDwgJ1xuJzsKfQo="
Project_CodeNet_C++1000/p02709/s643331653
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub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yspewogICAgICAgICAgICBpbnQgcmlnaHQgPSBpIC0gbGVmdDsKICAgICAgICAgICAgLy/jgZ3jga7opoHntKDjgpLlt6bjgavoqbDjgoHjgosKICAgICAgICAgICAgY2htYXgoZHBbaSsxXVtsZWZ0KzFdLGRwW2ldW2xlZnRdKyhsb25nIGxvbmcpbnVtLmF0KGkpLmZpcnN0KihudW0uYXQoaSkuc2Vjb25kLWxlZnQpKTsKICAgICAgICAgICAgLy/lj7PjgavoqbDjgoHjgosKICAgICAgICAgICAgY2htYXgoZHBbaSsxXVtsZWZ0XSxkcFtpXVtsZWZ0XSsobG9uZyBsb25nKW51bS5hdChpKS5maXJzdCooKE4tcmlnaHQtMSktbnVtLmF0KGkpLnNlY29uZCkpOwogICAgICAgIH0KICAgIH0KCiAgICBsb25nIGxvbmcgYW5zID0gMDsKICAgIGZvcihpbnQgaSA9IDA7aTw9TjtpKyspewogICAgICAgIGFucyA9IG1heChhbnMsZHBbTl1baV0pOwogICAgfQoKICAgIGNvdXQgPDwgYW5zIDw8IGVuZGw7CgoKICAgIC8vIFBMRUFTRSBHSVZFIE1FIFRIRSAiQUNDRVBURUQiICEKfQ=="
Project_CodeNet_C++1000/p02709/s031943682
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dXRpbGl0eT4KI2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPGNzdGRsaWI+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdHlwZWRlZiBsb25nIGxvbmcgbGw7CnR5cGVkZWYgcGFpcjxpbnQsIGludD4gcGlpOwoKaW50IG1haW4oKSB7CiAgICBpb3M6OnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7CiAgICBjaW4udGllKE5VTEwpOwoKICAgIGludCBuOwogICAgY2luID4+IG47CiAgICBwaWkgYWlbbl07CiAgICBmb3IgKGludCBpID0gMDsgaSA8IG47IGkrKykgewogICAgICAgIGNpbiA+PiBhaVtpXS5maXJzdDsKICAgICAgICBhaVtpXS5zZWNvbmQgPSBpOwogICAgfQogICAgc29ydChhaSwgYWkrbik7CgogICAgbGwgZHBbbl1bbl07CiAgICBmb3IgKGludCBpID0gbiAtIDE7IGkgPj0gMDsgaS0tKSB7CiAgICAgICAgZm9yIChpbnQgaiA9IGk7IGogPCBuOyBqKyspIHsKICAgICAgICAgICAgaWYgKGkgPT0gaikgewogICAgICAgICAgICAgICAgZHBbaV1bal0gPSAxbGwgKiBhaVswXS5maXJzdCAqIGFicyhhaVswXS5zZWNvbmQgLSBpKTsKICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgIGRwW2ldW2pdID0gMDsKICAgICAgICAgICAgICAgIGlmIChpIDwgbiAtIDEpIHsKICAgICAgICAgICAgICAgICAgICBkcFtpXVtqXSA9IG1heChkcFtpXVtqXSwgZHBbaSsxXVtqXSArIDFsbCAqIGFpW2otaV0uZmlyc3QgKiBhYnMoYWlbai1pXS5zZWNvbmQgLSBpKSk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBpZiAoaiA+IDApIHsKICAgICAgICAgICAgICAgICAgICBkcFtpXVtqXSA9IG1heChkcFtpXVtqXSwgZHBbaV1bai0xXSArIDFsbCAqIGFpW2otaV0uZmlyc3QgKiBhYnMoYWlbai1pXS5zZWNvbmQgLSBqKSk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9CgogICAgY291dCA8PCBkcFswXVtuLTFdIDw8IGVuZGw7CgogICAgcmV0dXJuIDA7Cn0K"
Project_CodeNet_C++1000/p02709/s677142831
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"Ly8vQmlzbWlsbGFoaXIgUmFobWFuaXIgUmFoaW0KI2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KCiNkZWZpbmUgICAgICAgICAgICAgICAgICAgICAgICAgICBpbnQgICAgICAgICAgICAgICAgICAgICAgICAgbG9uZyBsb25nCiNkZWZpbmUgICAgICAgICAgICAgICAgICAgICAgICAgICBmaSAgICAgICAgICAgICAgICAgICAgICAgICAgZmlyc3QKI2RlZmluZSAgICAgICAgICAgICAgICAgICAgICAgICAgIHNpICAgICAgICAgICAgICAgICAgICAgICAgICBzZWNvbmQKI2RlZmluZSAgICAgICAgICAgICAgICAgICAgICAgICAgIG1wICAgICAgICAgICAgICAgICAgICAgICAgICBtYWtlX3BhaXIKI2RlZmluZSAgICAgICAgICAgICAgICAgICAgICAgICAgIHBiICAgICAgICAgICAgICAgICAgICAgICAgICBwdXNoX2JhY2sKI2RlZmluZSAgICAgICAgICAgICAgICAgICAgICAgICAgIHBpICAgICAgICAgICAgICAgICAgICAgICAgICBwYWlyPGludCxpbnQ+CiNkZWZpbmUgICAgICAgICAgICAgICAgICAgICAgICAgICBmKGksbCxyKSAgICAgICAgICAgICAgICAgICAgZm9yKGludCBpPWw7aTw9cjtpKyspCiNkZWZpbmUgICAgICAgICAgICAgICAgICAgICAgICAgICByZihpLHIsbCkgICAgICAgICAgICAgICAgICAgZm9yKGludCBpPXI7aT49bDtpLS0pCiNkZWZpbmUgICAgICAgICAgICAgICAgICAgICAgICAgICBkb25lKGkpICAgICAgICAgICAgICAgICAgICAgY291dDw8ImRvbmUgPSAiPDxpPDxlbmRsOwojZGVmaW5lICAgICAgICAgICAgICAgICAgICAgICAgICAgZmFzdCAgICAgICAgICAgICAgICAgICAgICAgIGlvc19iYXNlOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpO2Npbi50aWUoMCk7Y291dC50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ZlcnNlKHZlYy5iZWdpbigpLHZlYy5lbmQoKSk7CiAgICBpbnQgc2VzPXNvbHZlKDEsMSk7CiAgICBjb3V0PDxzZXM8PGVuZGw7CiAgICByZXR1cm4gMDsKCn0KCgoKCgoKCgoKCgo="
Project_CodeNet_C++1000/p02709/s890205559
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGNzdGRpbz4KI2luY2x1ZGUgPGNzdGRpbnQ+CiNpbmNsdWRlIDxjaW50dHlwZXM+CiNpbmNsdWRlIDxpb3N0cmVhbT4KI2luY2x1ZGUgPHZlY3Rvcj4KI2luY2x1ZGUgPHV0aWxpdHk+CiNpbmNsdWRlIDxjbWF0aD4KI2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPG51bWVyaWM+CiNpbmNsdWRlIDxzdHJpbmc+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnVzaW5nIHU4dCA9IHN0ZDo6dWludDY0X3Q7CnVzaW5nIGk4dCA9IHN0ZDo6aW50NjRfdDsKI2RlZmluZSBGKEksTikgZm9yKGk4dCBJPTAsSSMjX049TjtJPEkjI19OO0krKykKI2RlZmluZSBGUihJLE4pIGZvcihpOHQgST1OO0ktLTspCiNkZWZpbmUgUihWKSBpOHQgVjtzdGQ6OmNpbj4+VjsKI2RlZmluZSBSVihWLE4pIHN0ZDo6dmVjdG9yPGk4dD4gVjtGKF9pLE4pe1IoX3gpVi5wdXNoX2JhY2soX3gpO30KI2RlZmluZSBSTDEobGluZSkgc3RkOjpnZXRsaW5lKHN0ZDo6Y2luLGxpbmUpOwojZGVmaW5lIFJMKGxpbmUpIHN0ZDo6c3RyaW5nIGxpbmU7UkwxKGxpbmUpCiNkZWZpbmUgUk0oVixMLEMpIHN0ZDo6dm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pbmYxLmFjdGl2ZSoociAtIGluZjEub3Bvcyk7CiAgICAgIHNjb3JlczJbal09c3RkOjptYXgoc2NvcmVzMltqXSxzY29yZXNbal0rbXZyKTsKICAgICAgc2NvcmVzMi5wdXNoX2JhY2soc2NvcmVzW2pdK212bCk7CiAgICB9CiAgICBzY29yZXMuc3dhcChzY29yZXMyKTsKICB9CiAgYXV0byBpdCA9IG1heF9lbGVtZW50KHNjb3Jlcy5iZWdpbigpLCBzY29yZXMuZW5kKCkpOwogIFAoKml0KTsKICByZXR1cm4gMDsKfQo="
Project_CodeNet_C++1000/p02709/s808679689
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"ICAjaW5jbHVkZTxiaXRzL3N0ZGMrKy5oPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwp1c2luZyBsbCA9IGxvbmcgbG9uZzsKCiNkZWZpbmUgZGVidWcoeCkgY291dCA8PCAjeCA8PCAiID0gIiA8PCB4IDw8IGVuZGw7CiNkZWZpbmUgYWxsKHYpICh2KS5iZWdpbigpLCAodikuZW5kKCkKI2RlZmluZSByYWxsKHYpICh2KS5yYmVnaW4oKSwgKHYpLnJlbmQoKQojZGVmaW5lIEZPUihpdCwgYiwgZSkgZm9yICh0eXBlb2YoYikgaXQgPSAoYik7IGl0ICE9IChlKTsgKytpdCkKI2RlZmluZSBNU0VUKGMsIHYpIG1lbXNldChjLCB2LCBzaXplb2YoYykpCgpjb25zdCBpbnQgSU5GID0gMHgzRjNGM0YzRjsgCmNvbnN0IGludCBORUdJTkYgPSAweEMwQzBDMEMwOwpjb25zdCBpbnQgTlVMTyA9IC0xOwpjb25zdCBkb3VibGUgRVBTID0gMWUtMTA7CmNvbnN0IGxsIG1vZCA9IDk5ODI0NDM1MzsKCmlubGluZSBpbnQgY21wK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yBvcmRbc3VtXS5maXJzdCAqIGFicyggKG4tMS1qKSAtIG9yZFtzdW1dLnNlY29uZCApKTsKICAgICAgLy8gZGVidWcoZHBbaSsxXVtqXSk7CiAgICAgIC8vIGRlYnVnKGRwW2ldW2orMV0pOwogICAgICAvLyBjb3V0IDw8ICJcblxuXG4iOwogICAgfQogIH0KCiAgZm9yKGludCBpID0gMDsgaSA8PSBuOyBpKyspCiAgewogICAgYW5zID0gbWF4KGFucywgZHBbaV1bbi1pXSk7CiAgfQoKICAKCiAgY291dCA8PCBhbnMgPDwgZW5kbDsKCgogIHJldHVybiAwOwp9IA=="
Project_CodeNet_C++1000/p02709/s167438579
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"CiNpbmNsdWRlPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Ci8vICNpbmNsdWRlIDxleHQvcGJfZHMvYXNzb2NfY29udGFpbmVyLmhwcD4gLy8gUG9saWN5X2Jhc2VkX0RhdGFfU3RydWN0dXJlCi8vICNpbmNsdWRlIDxleHQvcGJfZHMvdHJlZV9wb2xpY3kuaHBwPgovLyB1c2luZyBuYW1lc3BhY2UgX19nbnVfcGJkczsKCi8qI2luY2x1ZGUgPGJvb3N0L211bHRpcHJlY2lzaW9uL2NwcF9pbnQuaHBwPgp1c2luZyBuYW1lc3BhY2UgYm9vc3Q6Om11bHRpcHJlY2lzaW9uOyovCgojcHJhZ21hIEdDQyB0YXJnZXQgKCJhdngyIikKI3ByYWdtYSBHQ0Mgb3B0aW1pemF0aW9uICgiTzMiKQojcHJhZ21hIEdDQyBvcHRpbWl6YXRpb24gKCJ1bnJvbGwtbG9vcHMiKQoKI2RlZmluZSBsbCBsb25nIGxvbmcgaW50CiNkZWZpbmUgbGQgbG9u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VtraXRuZV0gIT0gLTEpCgkJcmV0dXJuIGRwW3N0XVtraXRuZV07CglsbCBxMSA9IGFbc3RdLmZzdCAqIGFicyhhW3N0XS5zY2QgLSBraXRuZSkgKyBzb2x2ZShzdCArIDEsIGVuLCBraXRuZSArIDEpOwoJbGwgcTIgPSBhW3N0XS5mc3QgKiBhYnMoYVtzdF0uc2NkIC0gKGVuIC0gMSAtIChzdCAtIGtpdG5lKSkpICsgc29sdmUoc3QgKyAxLCBlbiwga2l0bmUpOwoJZHBbc3RdW2tpdG5lXSA9IG1heChxMSwgcTIpOwoJcmV0dXJuIG1heChxMSwgcTIpOwp9CgppbnQgbWFpbigpCnsKCXNodXJ1X2thcnRlX2hhaV9iaW5hX2tpc2VfYmFrY2hvZGlfa2UoKTsKCWxsIG47CglyZWFkKG4pOwoJZm9ybihpLCBuKQoJewoJCWxsIHg7CgkJcmVhZCh4KTsKCQlhLnBiKHt4LCBpfSk7Cgl9Cglzb3J0KGFsbChhKSk7CglyZXZlcnNlKGFsbChhKSk7CgltZW1zZXQoZHAsIC0xLCBzaXplb2YoZHApKTsKCWxsIGFucyA9IHNvbHZlKDAsIG4sIDApOwoJY291dCA8PCBhbnM7CglyZXR1cm4gMDsKfQ=="
Project_CodeNet_C++1000/p02709/s919083247
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKI2RlZmluZSBsbCBsb25nIGxvbmcKY29uc3QgaW50IG1heG49MmUzKzU7CmNvbnN0IGludCBtb2Q9MWU5Kzc7CmxsIGRwW21heG5dW21heG5dOwpzdHJ1Y3QgYWMKewogICAgbGwgcCx2Owp9OwphYyBhW21heG5dOwpib29sIGNtcChhYyBhLGFjIGIpCnsKICAgIHJldHVybiBhLnY+Yi52Owp9CmludCBtYWluKCkKewogICAgaW9zOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpOwogICAgY2luLnRpZSgwKTsKICAgIGludCBuOwogICAgY2luPj5uOwogICAgZm9yKGludCBpPTE7aTw9bjtpKyspCiAgICB7CiAgICAgICAgY2luPj5hW2ldLnY7CiAgICAgICAgYVtpXS5wPWk7CiAgICB9CiAgICBzb3J0KGErMSxhKzErbixjbXApOwogICAgbGwgYW5zPS0xOwogICAgZm9yKGludCBsYT0xO2xhPG47bGErKykgLy/lt7LmlL7nva7liLDnrKzlh6DkuKrmlbAKICAgIHsKICAgICAgICBmb3IoaW50IHM9MDtzPD1sYTtzKyspCiAgICAgICAgewogICAgICAgICAgICBpbnQgaj1uLWxhK3M7CiAgICAgICAgICAgIGludCBpPXMrMTsKICAgICAgICAgICAgaWYoaisxPD1uKQogICAgICAgICAgICBkcFtpXVtqXT1tYXgoZHBbaV1bal0sZHBbaV1baisxXSthW2xhXS52KmFicyhqKzEtYVtsYV0ucCkpOwogICAgICAgICAgICBpZihpLTE+PTEpCiAgICAgICAgICAgIGRwW2ldW2pdPW1heChkcFtpXVtqXSxkcFtpLTFdW2pdK2FbbGFdLnYqYWJzKGFbbGFdLnAtKGktMSkpKTsKICAgICAgICB9CiAgICB9CiAgICBmb3IoaW50IGk9MTtpPD1uO2krKykKICAgIHsKICAgICAgICBhbnM9bWF4KGFucyxkcFtpXVtpXSthW25dLnYqYWJzKGFbbl0ucC1pKSk7CiAgICB9CiAgICBjb3V0PDxhbnM8PCdcbic7CgoKfQo="
Project_CodeNet_C++1000/p02709/s103784944
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y2Fzc2VydD4KI2luY2x1ZGUgPGFsZ29yaXRobT4KI2RlZmluZSBOIDIwMDAKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKdHlwZWRlZiBwYWlyPGludCxpbnQ+UDsKbG9uZyBsb25nIGZbTisxXVtOKzFdPXswfTsKUCBkW05dOwppbnQgbWFpbihpbnQgYXJnYyxjaGFyICoqIGFyZ3YpCnsKICAgIGludCBuOwogICAgY2luPj5uOwogICAgZm9yKGludCBpPTA7aTxuOysraSl7Y2luPj5kW2ldLmZpcnN0O2RbaV0uc2Vjb25kPWk7fQogICAgc29ydChkLGQrbixbXShQJiBhLFAmIGIpLT5ib29se3JldHVybiBhLmZpcnN0PmIuZmlyc3Q7fSk7CgogICAgZm9yKGludCBpPTA7aTw9bjsrK2kpewogICAgICAgIGZvcihpbnQgaj0wO2oraTw9bjsrK2opewogICAgICAgICAgICBmW2ldW2pdPSttYXgoKGk+MD9mW2ktMV1bal0rKGxvbmcgbG9uZylkW2krai0xXS5maXJzdCphYnMoaS0xLWRbaStqLTFdLnNlY29uZCk6MCksKGo+MD9mW2ldW2otMV0rKGxvbmcgbG9uZylkW2krai0xXS5maXJzdCphYnMobi1qLWRbaStqLTFdLnNlY29uZCk6MCkpOwogICAgICAgIH0KICAgIH0KICAgIGxvbmcgbG9uZyBhbnM9MDsKICAgIGZvcihpbnQgaT0wO2k8PW47KytpKXsKICAgICAgICBhbnM9bWF4KGFucyxmW2ldW24taV0pOwogICAgfQogICAgY291dDw8YW5zPDxlbmRsOwoKICAgIHJldHVybiAwOwp9"
Project_CodeNet_C++1000/p02709/s323343461
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8aW9zdHJlYW0+CiNpbmNsdWRlPGFsZ29yaXRobT4KI2RlZmluZSBsbCBsb25nIGxvbmcKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKY29uc3QgaW50IE49MmUzKzU7CmxsIGRwW05dW05dOwpzdHJ1Y3Qgbm9kZQp7CglpbnQgeCxpZDsKfTsKbm9kZSBhW05dOwppbnQgY21wKG5vZGUgYSxub2RlIGIpCnsKCXJldHVybiBhLng+Yi54Owp9CmludCBtYWluKCkKewoJaW50IG47CgljaW4+Pm47Cglmb3IoaW50IGk9MTtpPD1uO2krKykKCXsKCQljaW4+PmFbaV0ueDsKCQlhW2ldLmlkPWk7Cgl9Cglzb3J0KGErMSxhK24rMSxjbXApOwoJZm9yKGludCBrPTE7azw9bjtrKyspCgl7CgkJZm9yKGludCBpPTA7aTxrO2krKykKCQl7CgkJCWludCBqPWstaS0xOwoJCQlkcFtpKzFdW2pdPW1heChkcFtpKzFdW2pdLGRwW2ldW2pdKyhsbClhW2tdLngqKGFba10uaWQtKGkrMSkpKTsKCQkJZHBbaV1baisxXT1tYXgoZHBbaV1baisxXSxkcFtpXVtqXSsobGwpYVtrXS54KihuLWotYVtrXS5pZCkpOwoJCX0KCX0KCWxsIGFucz0wOwoJZm9yKGludCBpPTA7aTw9bjtpKyspCgkJYW5zPW1heChhbnMsZHBbaV1bbi1pXSk7Cgljb3V0PDxhbnM7CglyZXR1cm4gMDsgCn0g"
Project_CodeNet_C++1000/p02709/s624180493
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnVzaW5nIGxsID0gbG9uZyBsb25nOwoKaW50IG1haW4oKSB7CiAgaW9zOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpOwogIGNpbi50aWUoMCk7CgogIGxsIE47IGNpbiA+PiBOOwogIHZlY3RvcjxwYWlyPGxsLCBsbD4+IFAoTik7CiAgZm9yIChsbCBpID0gMDsgaSA8IE47IGkrKykgewogICAgbGwgYTsgY2luID4+IGE7CiAgICBQW2ldID0gbWFrZV9wYWlyKGEsIGkpOwogIH0KICBzb3J0KFAucmJlZ2luKCksIFAucmVuZCgpKTsKCiAgbGwgSU5GID0gMWUxODsKICB2ZWN0b3I8bGw+IGRwKE4gKyAxLCAwKTsKICBmb3IgKGxsIGkgPSAwOyBpIDwgTjsgaSsrKSB7CiAgICB2ZWN0b3I8bGw+IGRwMiA9IGRwOwogICAgZm9yIChsbCBsID0gMDsgbCA8PSBpICsgMTsgbCsrKSB7CiAgICAgIGxsIHIgPSBOIC0gKGkgLSBsKTsKICAgICAgaWYgKGwgPiAwKSBkcDJbbF0gPSBtYXgoZHAyW2xdLCBkcFtsIC0gMV0gKyBQW2ldLmZpcnN0ICogYWJzKGwgLSAxIC0gUFtpXS5zZWNvbmQpKTsKICAgICAgaWYgKHIgPD0gTikgZHAyW2xdID0gbWF4KGRwMltsXSwgZHBbbF0gKyBQW2ldLmZpcnN0ICogYWJzKHIgLSAxIC0gUFtpXS5zZWNvbmQpKTsKICAgIH0KICAgIGRwID0gZHAyOwogIH0KCiAgbGwgYW5zID0gKm1heF9lbGVtZW50KGRwLmJlZ2luKCksIGRwLmVuZCgpKTsKICBjb3V0IDw8IGFucyA8PCAnXG4nOwogIHJldHVybiAwOwp9"
Project_CodeNet_C++1000/p02709/s610396850
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgp0eXBlZGVmIGxvbmcgbG9uZyBsbDsKI2RlZmluZSB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AgICAgICAgICAgICAgcmlnaHQgPSBkcFt4XVt5LTFdICsgYVtpLTFdLmZpcnN0Km15X2FicyhhW2ktMV0uc2Vjb25kLShuLSh5LTEpKSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgZHBbeF1beV0gPSBtYXgobGVmdCwgcmlnaHQpOwogICAgICAgIH0KICAgIH0KCiAgICBsbCBhbnMgPSAtMSpJTkY7CiAgICBmb3IobGwgaT0wOyBpPD1uOyBpKyspIHsKICAgICAgICBpZihhbnMgPCBkcFtpXVtuLWldKSBhbnMgPSBkcFtpXVtuLWldOwogICAgfQoKICAgIGNvdXQgPDwgYW5zIDw8IGVuZGw7CgogICAgcmV0dXJuIDA7Cn0KCmxsIG15X2FicyhsbCBhKSB7CiAgICBpZihhID49IDApIHJldHVybiBhOwogICAgZWxzZSByZXR1cm4gLTEgKmE7Cn0="
Project_CodeNet_C++1000/p02709/s552463580
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"Ly8gI3ByYWdtYSBHQ0Mgb3B0aW1pemUoIk9mYXN0IikKLy8gI3ByYWdtYSBHQ0MgdGFyZ2V0KCJhdngsYXZ4MixmbWEiKQovLyAjcHJhZ21hIEdDQyBvcHRpbWl6YXRpb24gKCJ1bnJvbGwtbG9vcHMiKQoKI2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KI2luY2x1ZGUgPGV4dC9wYl9kcy9hc3NvY19jb250YWluZXIuaHBwPgojaW5jbHVkZSA8ZXh0L3BiX2RzL3RyZWVfcG9saWN5LmhwcD4KdXNpbmcgbmFtZXNwYWNlIF9fZ251X3BiZHM7CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgojZGVmaW5lIGZvKGksbikgICAgICAgICAgICAgZm9yKGludCBpPTA7aTxuO2krKykKI2RlZmluZSBubCAgICAgICAgICAgICAgICAgICJcbiIKI2RlZmluZSBmZiAgICAgICAgICAgICAgICAgIGZpcnN0CiNkZWZpbmUgc3MgICAgICAgICAgICAgICAgICBzZWNvbmQKI2RlZmluZSBpbnQgICAgICAgICAgICAgICAgIGxvbmcgbG9uZwojZGVmaW5lIHBiICAgICAgICAgICAgICAgICAgcHVzaF9iYWNrCiNkZWZpbmUgbXAgICAgICAgICAgICAgICAgICBtYWtlX3BhaXIKI2RlZmluZSB2ZWMoeCkgICAgICAgICAgICAgIHZlY3Rvcjx4PgojZGVmaW5lIG1hdHJpeCh4KSAgICAgICAgICAgdmVjdG9yPHZlY3Rvcjx4Pj4KI2RlZmluZSBzeih4KSAgICAgICAgICAgICAgIChpbnQpeC5zaXplKCkKI2RlZmluZSBtZW0oYSxiKSAgICAgICAgICAgIG1lbXNldChhLCBiLCBzaXplb2YgYSkKI2RlZmluZSB2aWkgICAgICAgICAgICAgICAgIHZlY3RvcjxwYWlyPGludCxpbnQ+PgojZGVmaW5lIHBpaSAgICAgICAgICAgICAgICAgcGFpcjxpbnQsaW50PgojZGVmaW5lIHZpICAgICAgICAgICAgICAgICAgdmVjdG9yPGludD4KI2RlZmluZSBtaWkgICAgICAgICAgICAgICAgIG1hcDxpbnQsaW50PgojZGVmaW5lIHVpaSAgICAgICAgICAgICAgICAgdW5vcmRlcmVkX21hcDxpbnQsaW50LGN1c3RvbV9oYXNoPgojZGVmaW5lIHBxYiAgICAgICAgICAgICAgICAgcHJpb3JpdHlfcXVldWU8aW50PgojZGVmaW5lIHBxcyAgICAgICAgICAgICAgICAgcHJpb3JpdHlfcXVldWU8aW50LHZpLGdyZWF0ZXI8aW50PiA+CiNkZWZpbmUgZ2NkKGEsYikgICAgICAgICAgICBfX2djZChhLGIpCiNkZWZpbmUgbGNtKGEsYikgICAgICAgICAgICAoYSooYi9nY2QoYSxiKSkpCiNkZWZpbmUgc2V0Yml0cyh4KSAgICAgICAgICBfX2J1aWx0aW5fcG9wY291bnR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W50ICZhbnMgPSBkcFtsXVtyXTsKICAgIGlmKGFucyAhPSAtMSkgcmV0dXJuIGFuczsKICAgIGludCBwb3MgPSBsK24tMS1yOwogICAgYW5zID0gbWF4KHthbnMsdltwb3NdLmZmKihhYnMobC12W3Bvc10uc3MpKStzb2x2ZTEobCsxLHIpLCB2W3Bvc10uZmYqYWJzKHItdltwb3NdLnNzKSArIHNvbHZlMShsLHItMSl9KTsKICAgIHJldHVybiBhbnM7Cn0KCnZvaWQgc29sdmUoKXsKCiAgICBjaW4+Pm47CiAgICB2LnJlc2l6ZShuKTsKICAgIGZvKGksbil7CiAgICAgICAgY2luPj52W2ldLmZmOwogICAgICAgIHZbaV0uc3MgPSBpOwogICAgfQogICAgc29ydChhbGwodiksY29tcCk7CiAgICBtZW0oZHAsLTEpOwogICAgaW50IGFucyA9IHNvbHZlMSgwLG4tMSk7CiAgICBjb3V0PDxhbnM7CiAgICAKfQoKIAppbnQzMl90IG1haW4oKQp7CiAgICBiYWJ1QmhhaXlhKCk7CgogICAgaW50IHQ7CgogICAgdCA9IDE7CiAgICAvL2Npbj4+dDsKCiAgICB3aGlsZSh0LS0pewogICAgICAgIHNvbHZlKCk7CiAgICB9CiAgICAKICAgIHJldHVybiAwOwp9"
Project_CodeNet_C++1000/p02709/s000387097
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPGZ1bmN0aW9uYWw+CiNpbmNsdWRlIDxpb3N0cmVhbT4KI2luY2x1ZGUgPHV0aWxpdHk+CiNpbmNsdWRlIDx2ZWN0b3I+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgICBpbnQgbjsKICAgIGNpbiA+PiBuOwoKICAgIHZlY3RvcjxwYWlyPGxvbmcgbG9uZywgaW50Pj4gYShuLCBtYWtlX3BhaXIoMCwgMCkpOwogICAgZm9yIChpbnQgaSA9IDA7IGkgPCBuOyBpKyspIHsKICAgICAgICBjaW4gPj4gYVtpXS5maXJzdDsKICAgICAgICBhW2ldLnNlY29uZCA9IGk7CiAgICB9CgogICAgc29ydChhLmJlZ2luKCksIGEuZW5kKCksIGdyZWF0ZXI8cGFpcjxsb25nIGxvbmcsIGludD4+KCkpOwoKICAgIHZlY3Rvcjx2ZWN0b3I8bG9uZyBsb25nPj4gZHAobiArIDEsIHZlY3Rvcjxsb25nIGxvbmc+KG4gKyAxLCAwKSk7CiAgICBmb3IgKGludCBpID0gMDsgaSA8IG47IGkrKykgewogICAgICAgIGZvciAoaW50IGogPSAwOyBpICsgaiA8IG47IGorKykgewogICAgICAgICAgICBkcFtpXVtqICsgMV0gPSBtYXgoZHBbaV1baiArIDFdLCBkcFtpXVtqXSArIGFbaSArIGpdLmZpcnN0ICogKGFbaSArIGpdLnNlY29uZCAtIGopKTsKICAgICAgICAgICAgZHBbaSArIDFdW2pdID0gbWF4KGRwW2kgKyAxXVtqXSwgZHBbaV1bal0gKyBhW2kgKyBqXS5maXJzdCAqIChuIC0gaSAtIGFbaSArIGpdLnNlY29uZCAtIDEpKTsKICAgICAgICB9CiAgICB9CgogICAgbG9uZyBsb25nIHJlcyA9IDA7CiAgICBmb3IgKGludCBpID0gMDsgaSA8PSBuOyBpKyspIHsKICAgICAgICByZXMgPSBtYXgocmVzLCBkcFtpXVtuIC0gaV0pOwogICAgfQoKICAgIGNvdXQgPDwgcmVzIDw8IGVuZGw7Cn0K"
Project_CodeNet_C++1000/p02709/s393475588
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnR5cGVkZWYgbG9uZyBsb25nIGxsOwojZGVmaW5lIHJlcChpLCBzcnQsIGVuZCkgZm9yIChsb25nIGxvbmcgaSA9IChzcnQpOyBpIDwgKGxvbmcgbG9uZykoZW5kKTsgaSsrKQoKaW50IG1haW4oKSB7CiAgICBsbCBuOwogICAgY2luID4+IG47CiAgICB2ZWN0b3I8cGFpcjxsbCxsbD4+IGEobik7CiAgICByZXAoaSwgMCwgbikgewogICAgICAgIGNpbiA+PiBhW2ldLmZpcnN0OwogICAgICAgIGFbaV0uc2Vjb25kID0gaTsKICAgIH0KICAgIHNvcnQoYS5iZWdpbigpLCBhLmVuZCgpLCBncmVhdGVyPHBhaXI8bGwsbGw+PigpKTsKICAgIHZlY3Rvcjx2ZWN0b3I8bGw+PiBkcChuKzEwLCB2ZWN0b3I8bGw+KG4rMTAsIDApKTsKICAgIHJlcChpLCAwLCBuKSB7CiAgICAgICAgcmVwKGwsIDAsIGkrMSkgewogICAgICAgICAgICBsbCByID0gaSAtIGw7CiAgICAgICAgICAgIGRwW2wrMV1bcl0gPSBtYXgoZHBbbCsxXVtyXSwgZHBbbF1bcl0gKyBhW2ldLmZpcnN0ICogKGFbaV0uc2Vjb25kIC0gbCkpOwogICAgICAgICAgICBkcFtsXVtyKzFdID0gbWF4KGRwW2xdW3IrMV0sIGRwW2xdW3JdICsgYVtpXS5maXJzdCAqICgobi0xIC0gcikgLSBhW2ldLnNlY29uZCkpOwogICAgICAgIH0KICAgIH0KICAgIGxsIGFucyA9IDA7CiAgICByZXAoaSwgMCwgbisxKSBhbnMgPSBtYXgoYW5zLCBkcFtpXVtuLWldKTsKICAgIGNvdXQgPDwgYW5zIDw8IGVuZGw7CiAgICByZXR1cm4gMDsKfQ=="
Project_CodeNet_C++1000/p02709/s477313667
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e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ZXAoaSwgTikgewoJCWludCBhID0gMDsKCQl3aGlsZSAoKGMgPSBnZXRjaGFyX3VubG9ja2VkKCkpID49ICcwJykgYSA9IGEgKiAxMCArIGMgLSAnMCc7CgkJQVtpXSA9IGxsKGEpIDw8IDMwIHwgaTsKCX0KCXNvcnQoQSwgQSArIE4pOwoJY29uc3QgbGwgbSA9ICgxbGwgPDwgMzApIC0gMTsKCWZvciAoaW50IGkgPSBOIC0gMTsgaSA+PSAwOyBpLS0pIHsKCQlpbnQgYSA9IEFbaV0gJiBtOwoJCWxsIGFhID0gQVtpXSA+PiAzMDsKCgkJZm9yIChpbnQgaiA9IE4gLSBpIC0gMTsgaiA+PSAwOyBqLS0pIHsKCQkJaWYgKGRwW2ogKyAxXSA8IGRwW2pdICsgYWJzKGEgLSBqKSAqIGFhKSBkcFtqICsgMV0gPSBkcFtqXSArIGFicyhhIC0gaikgKiBhYTsKCQkJZHBbal0gKz0gYWJzKGEgLSBqIC0gaSkgKiBhYTsKCQl9Cgl9CglsbCBrb3RhZSA9IDA7CglyZXAoaSwgTiArIDEpIGlmIChrb3RhZSA8IGRwW2ldKSBrb3RhZSA9IGRwW2ldOwoKCXByaW50ZigiJWxsZCIsIGtvdGFlKTsKCglXb3VsZCB5b3UgcGxlYXNlIHJldHVybiAwOwp9"
Project_CodeNet_C++1000/p02709/s312827900
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KI2luY2x1ZGU8aW9zdHJlYW0+CiNpbmNsdWRlPGFsZ29yaXRobT4KI2luY2x1ZGU8dmVjdG9yPgojaW5jbHVkZTxzdGRpby5oPgojaW5jbHVkZTxjc3RyaW5nPgojaW5jbHVkZTxtYXRoLmg+CiNpbmNsdWRlPG1hcD4KI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Bmb3IobG9uZyBsb25nIHggPSAwOyBrIC0geCA+PSAwOyB4KyspIHsKICAvLyAgICAgbG9uZyBsb25nIHkgPSBrIC0geDsKICAvLyAgICAgY291dCA8PCBkcFt4XVt5XSA8PCAiICI7CiAgLy8gICB9CiAgLy8gICBjb3V0IDw8IGVuZGw7CiAgLy8gfQogIGxvbmcgbG9uZyBhbnMgPSAwOwogIHJlcChpLCBOKzEpIHsKICAgIGxvbmcgbG9uZyBqID0gTiAtIGk7CiAgICBhbnMgPSBtYXgoYW5zLCBkcFtpXVtqXSk7CiAgfQogIGNvdXQgPDwgYW5zIDw8IGVuZGw7CiAgcmV0dXJuIDA7Cn0="
Project_CodeNet_C++1000/p02709/s246770701
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"Ly9Qb3dlcmVkIGJ5IGNhaWJpQ0gyIGF0IDIwMjAvMDQvMjQsMTk6NTg6MTUKI2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KI2RlZmluZSBlbGlmIGVsc2UgaWYKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKdHlwZWRlZiBsb25nIGxvbmcgbGw7CmNvbnN0IGxsIElORj0weDNmM2YzZjNmOwpsbCBmWzIwMTBdWzIwMTBdOwpzdHJ1Y3QgbXNwewoJbGwgbnVtLGRhdGE7Cn1hWzIwMTBdOwppbmxpbmUgbGwgY2FsKGludCBjeCxpbnQgd3opewoJcmV0dXJuIGFicyh3ei1hW2N4XS5udW0pKmFbY3hdLmRhdGE7Cn0Kc2lnbmVkIG1haW4oKXsKCWlvczo6c3luY193aXRoX3N0ZGlvKDApOwoJLy9jaW4udGllKDApOwoJaW50IG47Y2luPj5uOwoJZm9yKGludCBpPTE7aTw9bjsrK2kpewoJCWNpbj4+YVtpXS5kYXRhO2FbaV0ubnVtPWk7Cgl9Cglzb3J0KGErMSxhK24rMSxbXShjb25zdCBtc3AmeCxjb25zdCBtc3AmeSl7CgkJcmV0dXJuIHguZGF0YT55LmRhdGE7Cgl9KTsKCWZvcihpbnQgaT0wO2k8PW47KytpKXsKCQlmb3IoaW50IGo9MDtqPD1uLWk7KytqKXsKCQkJaW50IG5vdz1pK2o7CgkJCWlmKGk9PTAmJmo9PTApY29udGludWU7CgkJCWVsaWYoaT09MCl7CgkJCQlmW2ldW2pdPWZbaV1bai0xXStjYWwobm93LG4taisxKTsKCQkJfQoJCQllbGlmKGo9PTApewoJCQkJZltpXVtqXT1mW2ktMV1bal0rY2FsKG5vdyxpKTsKCQkJfQoJCQllbHNlewoJCQkJZltpXVtqXT1tYXgoZltpXVtqLTFdK2NhbChub3csbi1qKzEpLGZbaS0xXVtqXStjYWwobm93LGkpKTsKCQkJfQoJCX0KCX0KCWxsIGFucz0wOwoJZm9yKGludCBpPTA7aTw9bjsrK2kpewoJCWFucz1tYXgoYW5zLGZbaV1bbi1pXSk7Cgl9Cgljb3V0PDxhbnM8PCdcbic7CglyZXR1cm4gMDsKfQ=="
Project_CodeNet_C++1000/p02709/s783435804
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKI2RlZmluZSBGT1IoaSwgbikgZm9yKGludCBpID0gMDsgaSA8IChpbnQpIG47IGkrKykKI2RlZmluZSByYWxsKHgpIHgucmJlZ2luKCksIHgucmVuZCgpCiNkZWZpbmUgYWxsKHgpIHguYmVnaW4oKSwgeC5lbmQoKQojZGVmaW5lIFBCIHB1c2hfYmFjawojZGVmaW5lIEYgZmlyc3QKI2RlZmluZSBTIHNlY29uZAoKdHlwZWRlZiBsb25nIGxvbmcgbGw7CnR5cGVkZWYgdmVjdG9yPGludD4gdmk7CnR5cGVkZWYgcGFpcjxpbnQsaW50PiBwaWk7CgojZGVmaW5lIE1BWCAxMDAwMDAwNwoKaW50IG47CnZlY3RvcjxwaWk+IHY7CgpsbCBkcFsyMDA3XVsyMDA3XTsKCmxsIHNvbHZlKGludCBsLCBpbnQgcil7CiAgICBpZihkcFtsXVtyXSAhPSAtMSkgcmV0dXJuIGRwW2xdW3JdOwoKCiAgICBsbCBhdHVhbCA9IHZbbCtuLXItMV0uRjsKICAgIGludCBpZHggPSB2W2wrbi1yLTFdLlM7CgogICAgaWYobD09cil7CiAgICAgICAgcmV0dXJuIGF0dWFsKmFicyhpZHgtbCk7CiAgICB9CgogICAgbGwgYTEgPSBzb2x2ZShsKzEsIHIpICsgYXR1YWwqYWJzKGlkeC1sKTsKICAgIGxsIGEyID0gc29sdmUobCwgci0xKSArIGF0dWFsKmFicyhpZHgtcik7CgogICAgcmV0dXJuIGRwW2xdW3JdID0gbWF4KGExLCBhMik7Cgp9CgppbnQgbWFpbigpewoJaW9zOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpOyBjaW4udGllKDApOwoKICAgIG1lbXNldChkcCwgLTEsIHNpemVvZihkcCkpOwoKCWNpbiA+PiBuOwogICAgdi5yZXNpemUobik7CiAgICBGT1IoaSwgbikgY2luID4+IHZbaV0uRiwgdltpXS5TID0gaTsKCiAgICBzb3J0KHJhbGwodikpOwoKCiAgICBjb3V0IDw8IHNvbHZlKDAsIG4tMSkgPDwgJ1xuJzsKCglyZXR1cm4gMDsKfQo="
Project_CodeNet_C++1000/p02709/s348472354
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CgppbnQgbWFpbigpCnsKICAgIGNvbnN0IGludCBNQVhfTiA9IDIwMDA7CiAgICBpbnQgbjsKICAgIHN0ZDo6Y2luID4+IG47CiAgICBzdGQ6OnBhaXI8bG9uZyBsb25nLCBpbnQ+IGFbTUFYX05dOwogICAgZm9yIChpbnQgaSA9IDA7IGkgPCBuOyArK2kpCiAgICB7CiAgICAgICAgc3RkOjpjaW4gPj4gYVtpXS5maXJzdDsKICAgICAgICBhW2ldLnNlY29uZCA9IGk7CiAgICB9CgogICAgc3RkOjpzb3J0KGEsIGEgKyBuKTsKICAgIGxvbmcgbG9uZyBhbnNbTUFYX05dW01BWF9OXTsKICAgIGZvciAoaW50IGogPSAwOyBqIDwgbjsgKytqKQogICAgewogICAgICAgIGFuc1swXVtqXSA9IGFbMF0uZmlyc3QgKiBzdGQ6OmFicyhhWzBdLnNlY29uZCAtIGopOwogICAgfQoKICAgIC8vYVtpXQogICAgZm9yIChpbnQgaSA9IDE7IGkgPCBuOyArK2kpCiAgICB7CiAgICAgICAgLy/ln4vjgb7jgaPjgabjgYTjgovlhYjpoK3jga7mlbAKICAgICAgICBmb3IgKGludCBqID0gMDsgaSArIGogPCBuOyArK2opCiAgICAgICAgewogICAgICAgICAgICBsb25nIGxvbmcgZnJvbnQgPSBhbnNbaSAtIDFdW2ogKyAxXSArIGFbaV0uZmlyc3QgKiBzdGQ6OmFicyhhW2ldLnNlY29uZCAtIGopOwogICAgICAgICAgICBsb25nIGxvbmcgYmFjayA9IGFuc1tpIC0gMV1bal0gKyBhW2ldLmZpcnN0ICogc3RkOjphYnMoYVtpXS5zZWNvbmQgLSAoaiArIGkpKTsKICAgICAgICAgICAgYW5zW2ldW2pdID0gc3RkOjptYXgoZnJvbnQsIGJhY2spOwogICAgICAgIH0KICAgIH0KCiAgICBzdGQ6OmNvdXQgPDwgYW5zW24gLSAxXVswXSA8PCBzdGQ6OmVuZGw7CiAgICByZXR1cm4gMDsKfQ=="
Project_CodeNet_C++1000/p02709/s560572608
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KI2RlZmluZSBsbCBsb25nIGxvbmcKI2RlZmluZSBkbCBkb3VibGUKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCi8vKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKaW50IE1BWE5VTSA9IDVlMys1Owp2ZWN0b3IgPGludD52aXMoTUFYTlVNKTsKdmVjdG9yPGludD4gcHI7CnZvaWQgc2lldmUoKSB7Cglwci5wdXNoX2JhY2soMik7Cglmb3IobGwgaT0zO2k8TUFYTlVNO2krPTIpIGlmKCF2aXNbaV0pIHsKCQlwci5wdXNoX2JhY2soaSk7CgkJZm9yKGxsIGo9aSppO2o8TUFYTlVNO2orPTIqaSkgdmlzW2pdPXRydWU7Cgl9Cn0KLy8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKbGwgbW9kPTEwMDAwMDAwMDc7CnZvaWQgc29sdmUoKQp7CglsbCBuOwoJY2luID4+IG47Cgl2ZWN0b3I8cGFpcjxsbCxsbD4+IHYobisxKTsKCXZlY3Rvcjx2ZWN0b3I8bGw+PiBkcChuKzEpOwoJZHBbMF0ucmVzaXplKG4rMSk7Cglmb3IoaW50IGk9MTtpPD1uO2krKykKCXsKCQlkcFtpXS5yZXNpemUobisxKTsKCQlsbCB4OwoJCWNpbiA+PiB4OwoJCXZbaV09bWFrZV9wYWlyKHgsaSk7Cgl9Cglzb3J0KCsrdi5iZWdpbigpLHYuZW5kKCkpOwoJcmV2ZXJzZSgrK3YuYmVnaW4oKSx2LmVuZCgpKTsKCWRwWzFdWzBdPXZbMV0uZmlyc3QqKGFicyhuLXZbMV0uc2Vjb25kKSk7CglkcFsxXVsxXT12WzFdLmZpcnN0KihhYnMoMS12WzFdLnNlY29uZCkpOwoJZm9yKGludCBpPTI7aTw9bjtpKyspCgl7CgkJZm9yKGludCBqPTA7ajxpO2orKykKCQl7CgkJCWludCBicD1uLShpLTEtaik7CgkJCWRwW2ldW2pdPW1heChkcFtpXVtqXSxkcFtpLTFdW2pdK3ZbaV0uZmlyc3QqKGFicyhicC12W2ldLnNlY29uZCkpKTsKCQkJZHBbaV1baisxXT1tYXgoZHBbaV1baisxXSxkcFtpLTFdW2pdK3ZbaV0uZmlyc3QqKGFicyhqKzEtdltpXS5zZWNvbmQpKSk7CgkJfQoJfQoJbGwgYW5zPTA7Cglmb3IoaW50IGk9MDtpPD1uO2krKykKCXsKCQlpZihhbnM8ZHBbbl1baV0pCgkJYW5zPWRwW25dW2ldOwoJfQoJY291dCA8PCBhbnMgPDwgZW5kbDsKCn0KCgppbnQgbWFpbigpCnsgCglpb3NfYmFzZTo6c3luY193aXRoX3N0ZGlvKGZhbHNlKTsgCiAgICBjaW4udGllKE5VTEwpOwoJbGwgdDsKCS8vY2luID4+IHQ7Cgl0PTE7Cgl3aGlsZSh0LS0pCgl7CgkJc29sdmUoKTsKCX0KCglyZXR1cm4gMDsKfQ=="
Project_CodeNet_C++1000/p02709/s777145514
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+Ci8vICNpbmNsdWRlIDxleHQvcGJfZHMvYXNzb2NfY29udGFpbmVyLmhwcD4KLy8gI2luY2x1ZGUgPGV4dC9wYl9kcy90cmVlX3BvbGljeS5ocHA+Ci8vIHVzaW5nIG5hbWV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HNpemVvZihkcCkpOwogICAgZm9yIChpbnQgaSA9IDA7IGkgPCBuOyBpKyspewogICAgICAgIGNpbiA+PiBhcnJbaV0uZmY7CiAgICAgICAgYXJyW2ldLnNzID0gaTsKICAgIH0KICAgIHNvcnQoYXJyLCBhcnIrbik7CiAgICByZXZlcnNlKGFyciwgYXJyK24pOwogICAgY291dCA8PCBnbygwLCBuLTEsIDApIDw8IGVuZGw7Cn0KCgoKaW50MzJfdCBtYWluKCkKewoKCiAgICBuZnM7CiAgICBpbnQgdDsKICAgIC8vIGZhY3RvKCk7CiAgICAvLyBjaW4gPj4gdDsKICAgIHQgPSAxOwogICAgd2hpbGUgKHQtLSkgewogICAgICAgIHNvbHZlKCk7CiAgICB9CgogICAgcmV0dXJuIDA7Cn0="
Project_CodeNet_C++1000/p02709/s244707469
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKI2RlZmluZSBsbCBsb25nIGxvbmcKbGwgZHBbMjAwMV1bMjAwMV07CmludCBtYWluKCkKewogICAgaW9zX2Jhc2U6OnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7CiAgICBjaW4udGllKE5VTEwpOwoJI2lmbmRlZiBPTkxJTkVfSlVER0UKCSAgICAvLyBmb3IgZ2V0dGluZyBpbnB1dCBmcm9tIGlucHV0LnR4dAoJICAgIGZyZW9wZW4oImlucHV0LnR4dCIsICJyIiwgc3RkaW4pOwoJICAgIC8vIGZvciB3cml0aW5nIG91dHB1dCB0byBvdXRwdXQudHh0CgkgICAgZnJlb3Blbigib3V0cHV0LnR4dCIsICJ3Iiwgc3Rkb3V0KTsKCSNlbmRpZgoJICAgIGxsIG47CgkgICAgY2luPj5u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SxkcFtuLWpdW2pdKTsKCSAgICB9CgkgICAgY291dDw8bWF4aTsKfQ=="
Project_CodeNet_C++1000/p02709/s814071971
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgpsb25nIGxvbmcgZiAoaW50IHYsIGludCBpLCBpbnQgaikgewoJcmV0dXJuICgobG9uZyBsb25nKSB2KSAqICgobG9uZyBsb25nKSBhYnMoaSAtIGopKTsKfQoKc2lnbmVkIG1haW4gKCkgewoJaW50IG47CgljaW4gPj4gbjsKCXZlY3RvciA8IGludCA+IGEobik7Cglmb3IgKGludCAmeDogYSkgCgkJY2luID4+IHg7Cgl2ZWN0b3IgPCBwYWlyIDwgaW50LCBpbnQgPiA+IGIobik7Cglmb3IgKGludCBpID0gMDsgaSA8IG47ICsraSkKCQliW2ldID0gbWFrZV9wYWlyKGFbaV0sIGkpOwoJc29ydChiLnJiZWdpbigpLCBiLnJlbmQoKSk7Cglsb25nIGxvbmcgZHBbbl1bbl07Cglmb3IgKGludCBpID0gMDsgaSA8IG47ICsraSkgewoJCWZvciAoaW50IGogPSAwOyBqIDwgbjsgKytqKQoJCQlkcFtpXVtqXSA9IC0xZTE4OwoJfQoJZm9yIChpbnQgbCA9IG4gLSAxOyBsID49IDA7IC0tbCkgewoJCWZvciAoaW50IHIgPSBsOyByIDwgbjsgKytyKSB7CgkJCWludCB0b19lYXQgPSBsICsgKG4gLSAxIC0gcik7CgkJCWlmIChsID09IHIpCgkJCQlkcFtsXVtyXSA9IGYoYlt0b19lYXRdLmZpcnN0LCBiW3RvX2VhdF0uc2Vjb25kLCBsKTsKCQkJZWxzZSAKCQkJCWRwW2xdW3JdID0gbWF4KGRwW2xdW3IgLSAxXSArIGYoYlt0b19lYXRdLmZpcnN0LCBiW3RvX2VhdF0uc2Vjb25kLCByKSwgZHBbbCArIDFdW3JdICsgZihiW3RvX2VhdF0uZmlyc3QsIGJbdG9fZWF0XS5zZWNvbmQsIGwpKTsKCQl9Cgl9Cgljb3V0IDw8IGRwWzBdW24gLSAxXSA8PCAnXG4nOwp9Cg=="
Project_CodeNet_C++1000/p02709/s016299860
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8YWxnb3JpdGhtPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8Y21hdGg+CiNpbmNsdWRlIDxxdWV1ZT4KI2luY2x1ZGUgPHNldD4KI2luY2x1ZGUgPG1hcD4KI2luY2x1ZGUgPGlvbWFuaXA+CiNpbmNsdWRlIDxmc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwp0eXBlZGVmIGxvbmcgbG9uZyBsbDsKdHlwZWRlZiBwYWlyPGludCwgaW50PiBwaWk7CmNvbnN0IGludCBtb2QgPSAxMDAwMDAwMDA3OwoKaW50IG1haW4oKSB7CiAgICBpb3M6OnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7CiAgICBpbnQgbjsKICAgIGxsIGFbMjAyMF0gPSB7fSwgZFsyMDIwXVsyMDIwXSA9IHt9LCB6ID0gMDsKICAgIGNpbiA+PiBuOwogICAgZm9yIChpbnQgaSA9IDE7IGkgPD0gbjsgaSsrKSBjaW4gPj4gYVtpXTsKICAgIGZvciAoaW50IGkgPSAxOyBpIDw9IG47IGkrKykgewogICAgICAgIGludCBiID0gMDsKICAgICAgICBmb3IgKGludCBqID0gMTsgaiA8PSBuOyBqKyspIGlmIChhW2pdID4gYVtiXSkgYiA9IGo7CiAgICAgICAgZm9yIChpbnQgaiA9IDA7IGogPD0gaTsgaisrKSB7CiAgICAgICAgICAgIGlmICghaikgZFtpXVtqXSA9IGRbaSAtIDFdW2pdICsgYVtiXSAqIGFicyhiIC0gKG4gLSBpICsgaiArIDEpKTsKICAgICAgICAgICAgZWxzZSBpZiAoaiA9PSBpKSBkW2ldW2pdID0gZFtpIC0gMV1baiAtIDFdICsgYVtiXSAqIGFicyhiIC0gaik7CiAgICAgICAgICAgIGVsc2UgZFtpXVtqXSA9IG1heChkW2kgLSAxXVtqXSArIGFbYl0gKiBhYnMoYiAtIChuIC0gaSArIGogKyAxKSksIGRbaSAtIDFdW2ogLSAxXSArIGFbYl0gKiBhYnMoYiAtIGopKTsKICAgICAgICB9CiAgICAgICAgYVtiXSA9IDA7CiAgICB9CiAgICBmb3IgKGludCBpID0gMDsgaSA8PSBuOyBpKyspIHsKICAgICAgICB6ID0gbWF4KHosIGRbbl1baV0pOwogICAgICAgIC8vZm9yIChpbnQgaiA9IDA7IGogPD0gaTsgaisrKSBjb3V0IDw8IGRbaV1bal0gPDwgIiBcbiJbaiA9PSBpXTsKICAgIH0KICAgIGNvdXQgPDwgejsKfQo="
Project_CodeNet_C++1000/p02709/s207631333
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"CiNwcmFnbWEgR0NDIG9wdGltaXplICgiTzMiKQoKI2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKI2lmZGVmIExPQ0FMCiNpbmNsdWRlIDxwcmV0dHlwcmludC5ocHA+CiNkZWZpbmUgZGVidWcoLi4uKSAgY2VyciA8PCAiWyIgPDwgI19fVkFfQVJHU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KCmludCBtYWluKCl7CiAgICBjaW4udGllKDApOwogICAgaW9zX2Jhc2U6OnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7CiAgICBjb3V0IDw8IGZpeGVkIDw8IHNldHByZWNpc2lvbigyMCk7CiAgICAKICAgIGludCBOOwogICAgY2luID4+IE47CgogICAgdmVjdG9yPHBhaXI8bGwsIGludD4+IEEoTik7CiAgICBSRVAoaSwgTikgewogICAgICAgIGxsIGE7CiAgICAgICAgY2luID4+IGE7CiAgICAgICAgQVtpXSA9IHthLCBpfTsKICAgIH0KCiAgICBzb3J0KEFMTChBKSk7CiAgICByZXZlcnNlKEFMTChBKSk7CgogICAgbGwgZHBbTiArIDJdW04gKyAyXTsKICAgIG1lbXNldChkcCwgMCwgc2l6ZW9mKGRwKSk7CgogICAgUkVQKGksIE4pIHsKICAgICAgICBSRVAoeSwgaSArIDIpIHsKICAgICAgICAgICAgaW50IHggPSBpIC0geSArIDE7CiAgICAgICAgICAgIGlmICh4ID4gMCkgZHBbeF1beV0gPSBtYXgoZHBbeF1beV0sIGRwW3ggLSAxXVt5XSArIEFbaV0uZmkgKiAoQVtpXS5zZSAtIHggKyAxKSk7CiAgICAgICAgICAgIGlmICh5ID4gMCkgZHBbeF1beV0gPSBtYXgoZHBbeF1beV0sIGRwW3hdW3kgLSAxXSArIEFbaV0uZmkgKiAoTiAtIHkgLSBBW2ldLnNlKSk7CiAgICAgICAgfQogICAgfQoKICAgIGxsIGFucyA9IDA7CiAgICBSRVAoaSwgTikgewogICAgICAgIGFucyA9IG1heChhbnMsIGRwW04gLSBpXVtpXSk7CiAgICB9CiAgICBwcmludChhbnMpOwp9Cg=="
Project_CodeNet_C++1000/p02709/s388161779
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1Z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gaSA8IG47IGkrKykgY2luID4+IGFbaV07Cn0KCmludCBtYWluKCkgewogICAgaW9zOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpOwogICAgY2luLnRpZSgwKTsKICAgIGNvdXQgPDwgZml4ZWQgPDwgc2V0cHJlY2lzaW9uKDE1KTsKCiAgICBpbnB1dCgpOwogICAgY291dCA8PCBzb2x2ZSgpIDw8IGVuZGw7Cn0K"
Project_CodeNet_C++1000/p02709/s937300529
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8aW9zdHJlYW0+CiNpbmNsdWRlPGFsZ29yaXRobT4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKaW50IE47CnBhaXI8bG9uZyxpbnQ+QVsyMDAwXTsKbG9uZyBkcFsyMDAxXVsyMDAxXTsKaW50IG1haW4oKXsKCWNpbj4+TjsKCWZvcihpbnQgaT0wO2k8TjtpKyspewoJCWNpbj4+QVtpXS5maXJzdDsKCQlBW2ldLnNlY29uZD1pOwoJfQoJc29ydChBLEErTik7CglyZXZlcnNlKEEsQStOKTsKCWZvcihpbnQgaT0wO2k8TjtpKyspewoJCWZvcihpbnQgaj0wO2o8PWk7aisrKXsKCQkJaW50IGs9Ti0oaS1qKTsKCQkJZHBbaisxXVtrXT1tYXgoZHBbaisxXVtrXSxkcFtqXVtrXStBW2ldLmZpcnN0KmFicyhBW2ldLnNlY29uZC1qKSk7CgkJCWRwW2pdW2stMV09bWF4KGRwW2pdW2stMV0sZHBbal1ba10rQVtpXS5maXJzdCphYnMoQVtpXS5zZWNvbmQtKGstMSkpKTsKCQl9Cgl9Cglsb25nIGFucz0wOwoJZm9yKGludCBpPTA7aTw9TjtpKyspCiAgICAgICAgICAgICAgICAgICAgYW5zPW1heChhbnMsZHBbaV1baV0pOwoJY291dDw8YW5zPDxlbmRsOwp9Cg=="
Project_CodeNet_C++1000/p02709/s372508448
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CgojZGVmaW5lIE1fUEkgICAgICAgMy4xNDE1OTI2NTM1ODk3OTMyMzg0NiAgIC8vIHBpCgp1c2luZyBuYW1lc3BhY2Ugc3RkOwp0eXBlZGVmIGxvbmcgbG9uZyBsbDsKdHlwZWRlZiB1bnNpZ25lZCBsb25nIGxvbmcgdWxsOwp0eXBlZGVmIHZlY3RvcjxsbD4gVkk7CnR5cGVkZWYgcGFpcjxpbnQsIGludD4gUDsKdHlwZWRlZiB0dXBsZTxpbnQsIGludCwgaW50PiB0MzsKdHlwZWRlZiB0dXBsZTxsbCwgbGwsIGxsLCBsbD4gdDQ7CnR5cGVkZWYgdHVwbGU8bGwsIGxsLCBsbCwgbGwsIGxsPiB0NTsKCiNkZWZpbmUgcmVwKGEsbikgZm9yKGxsIGEgPSAwO2EgPCBuO2ErKykKI2RlZmluZSByZXBpKGEsYixuKSBmb3IobGwgYSA9IGI7YSA8IG47YSsrKQoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnN0YXRpYyBjb25zdCBsbCBJTkYgPSAxZTE1OwoKY29uc3QgbGwgbW9kID0gMTAwMDAwMDAwNzsKCmludCBtYWluKCkgewoJbGwgbjsKCWNpbiA+PiBuOwoJdmVjdG9yPFA+IGFzKG4pOwoJcmVwKGksIG4pIHsgCgkJbGwgYTsKCQljaW4gPj4gYTsKCQlhc1tpXSA9IHsgYSxpIH07Cgl9Cglzb3J0KGFzLmJlZ2luKCksIGFzLmVuZCgpLCBncmVhdGVyPFA+KCkpOwoJdmVjdG9yPHZlY3RvcjxsbD4+I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sKCXJldHVybiAwOwp9Cg=="
Project_CodeNet_C++1000/p02709/s773857347
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"LyoKWyAoIF4gXyBeICkgXQoqLwovLyBwcm9ibGVtOiBhdGMvYWJjMTYzX2UKI2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnR5cGVkZWYgbG9uZyBsb25nIGxsOwojZGVmaW5lIElORiAxMDAwMDAwMDAwCgp2b2lkIG1heHNlbGYobGwgJmEsIGxsIGIpIHsKICAgIGEgPSBtYXgoYSwgYik7Cn0KCmludCBtYWluKCkgewogICAgaW50IG47CiAgICBzY2FuZigiJWQiLCAmbik7CiAgICB2ZWN0b3I8cGFpcjxsbCwgaW50Pj4gYShuKTsKICAgIGZvcihpbnQgaT0wOyBpPG47IGkrKykgewogICAgICAgIHNjYW5mKCIlbGxkIiwgJmFbaV0uZmlyc3QpOwogICAgICAgIGFbaV0uc2Vjb25kID0gaTsKICAgIH0KICAgIHNvcnQoYS5iZWdpbigpLCBhLmVuZCgpLCBncmVhdGVyPHBhaXI8bGwsIGludD4+KCkpOwogICAgbGwgZHBbbisxXVtuKzFdOwogICAgbWVtc2V0KGRwLCAwLCBzaXplb2YoZHApKTsKICAgIGZvcihpbnQgaT0wOyBpPG47IGkrKykgewogICAgICAgIGZvcihpbnQgbD0wOyBsPD1pOyBsKyspIHsKICAgICAgICAgICAgaW50IHIgPSBpIC0gbDsKICAgICAgICAgICAgbWF4c2VsZihkcFtsKzFdW3JdLCBkcFtsXVtyXSArIGFbaV0uZmlyc3QgKiBhYnMobCAtIGFbaV0uc2Vjb25kKSk7CiAgICAgICAgICAgIG1heHNlbGYoZHBbbF1bcisxXSwgZHBbbF1bcl0gKyBhW2ldLmZpcnN0ICogYWJzKG4tMS1yIC0gYVtpXS5zZWNvbmQpKTsKICAgICAgICB9CiAgICB9CiAgICBsbCBteCA9IDA7CiAgICBmb3IoaW50IGw9MDsgbDw9bjsgbCsrKSB7CiAgICAgICAgaW50IHIgPSBuIC0gbDsKICAgICAgICBtYXhzZWxmKG14LCBkcFtsXVtyXSk7CiAgICB9CiAgICBwcmludGYoIiVsbGRcbiIsIG14KTsKfQo="
Project_CodeNet_C++1000/p02709/s778448493
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbjsKbG9uZyBhWzIwMDBdOwpsb25nIGRwWzIwMDFdWzIwMDFdOwoKaW50IG1haW4oKSB7CiAgdXNpbmcgUFAgPSBwYWlyPGxvbmcsIGxvbmc+OwogIGNpbiA+PiBuOwogIGZvciAoaW50IGkgPSAwOyBpIDwgbjsgKytpKSBjaW4gPj4gYVtpXTsKICB2ZWN0b3I8UFA+IHY7CiAgZm9yIChpbnQgaSA9IDA7IGkgPCBuOyArK2kpIHsKICAgIHYucHVzaF9iYWNrKFBQKGFbaV0sIGkpKTsKICB9CiAgc29ydCh2LmJlZ2luKCksIHYuZW5kKCksIGdyZWF0ZXI8UFA+KCkpOwogIAogIGZvciAoaW50IGsgPSAwOyBrIDwgbjsgKytrKSB7CiAgICBpbnQgcG9zID0gdltrXS5zZWNvbmQ7CiAgICBsb25nIHZhbCA9IGFbcG9zXTsKICAgIGZvciAoaW50IGkgPSAwOyBpIDw9IGs7ICsraSkgewogICAgICBpbnQgaiA9IGsgLSBpOwogICAgICBkcFtpICsgMV1bal0gPSBtYXgoZHBbaSArIDFdW2pdLCBkcFtpXVtqXSArIHZhbCAqIGFicyhwb3MgLSBpKSk7CiAgICAgIGRwW2ldW2ogKyAxXSA9IG1heChkcFtpXVtqICsgMV0sIGRwW2ldW2pdICsgdmFsICogYWJzKHBvcyAtIChuIC0gMSAtIGopKSk7CiAgICB9CiAgfQogIAogIGxvbmcgbXggPSAwOwogIGZvciAoaW50IGkgPSAwOyBpIDw9IG47ICsraSkgewogICAgZm9yIChpbnQgaiA9IDA7IGogPD0gbjsgKytqKSB7CiAgICAgIG14ID0gbWF4KG14LCBkcFtpXVtqXSk7CiAgICB9CiAgfQogIAogIGNvdXQgPDwgbXggPDwgZW5kbDsKfQ=="
Project_CodeNet_C++1000/p02709/s660142257
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnR5cGVkZWYgbG9uZyBsb25nIGxsOwp0eXBlZGVmIHZlY3RvcjxpbnQ+IHZpOwp0eXBlZGVmIHBhaXI8aW50LCBpbnQ+IHBpaTsKI2RlZmluZSBmb3JyKGksYSxuKSBmb3IgKGludCBpID0gKGEpOyBpIDwgKG4pOyArK2kpCiNkZWZpbmUgcmZvcnIoaSxhLG4pIGZvciAoaW50IGkgPSAoYSk7IGkgPiAobik7IC0taSkKI2RlZmluZSBBTEwoeCkgeC5iZWdpbigpLHguZW5kKCkKI2RlZmluZSBMRU4oWCkgKChpbnQpKFgpLnNpemUoKSkKI2RlZmluZSBDQVNFVCBpbnQgX1Q7IGNpbiA+PiBfVDsgZm9ycihjYXNldCwwLF9UKQojZGVmaW5lIGludCBsbAoKCgpzaWduZWQgbWFpbigpIHsKICAgIGlvc19iYXNlOjpzeW5jX3dpdGhfc3RkaW8oMCksY2luLnRpZSgwKSxjb3V0LnRpZSgwKTsKICAgIC8vZnJlb3BlbigiaW5wdXQudHh0IiwiciIsc3RkaW4pOwogICAgaW50IG47IGNpbiA+PiBuOwoKICAgIHZlY3RvcjxwaWk+IGEobik7IAogICAgZm9ycihpLDAsbikgewogICAgICAgIGludCBoOyBjaW4gPj4gaDsKICAgICAgICBhW2ldID0gbWFrZV9wYWlyKGgsIGkrMSk7CiAgICB9CiAgICBzb3J0KEFMTChhKSk7CiAgICByZXZlcnNlKEFMTChhKSk7CgogICAgLy8gZHBbaV1bal0gaSB0byB0aGUgbGVmdCwgaiB0byB0aGUgcmlnaHQKICAgIHZlY3Rvcjx2ZWN0b3I8aW50Pj4gZHAgKG4rMSwgdmVjdG9yPGludD4gKG4rMSwgMCkpOwoKICAgIGludCBoYXAgPSAwOwogICAgZm9ycihpLDAsbisxKSB7CiAgICAgICAgZm9ycihqLDAsbisxKSB7CiAgICAgICAgICAgIGlmIChpPT0wICYmIGo9PTApIGNvbnRpbnVlOwogICAgICAgICAgICBpZiAoaStqID4gbikgYnJlYWs7CiAgICAgICAgICAgIGlmIChqID4gMCkgewogICAgICAgICAgICAgICAgZHBbaV1bal0gPSBtYXgoZHBbaV1bal0sIGRwW2ldW2otMV0gKyBhW2krai0xXS5maXJzdCoobisxIC0gaiAtIGFbaStqLTFdLnNlY29uZCkpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmIChpID4gMCkgewogICAgICAgICAgICAgICAgZHBbaV1bal0gPSBtYXgoZHBbaV1bal0sIGRwW2ktMV1bal0gKyBhW2krai0xXS5maXJzdCooYVtpK2otMV0uc2Vjb25kIC0gaSkpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIC8vIGNvdXQgPDwgaSA8PCAiICIgPDwgaiA8PCAiICIgPDwgZHBbaV1bal0gPDwgJ1xuJzsKICAgICAgICAgICAgaGFwID0gbWF4KGhhcCwgZHBbaV1bal0pOwogICAgICAgIH0KICAgIH0KCiAgICBjb3V0IDw8IGhhcCA8PCAnXG4nOwoKfQo="
Project_CodeNet_C++1000/p02709/s292233762
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0ZGlvPgojaW5jbHVkZSA8YWxnb3JpdGhtPgojaW5jbHVkZSA8Y3N0cmluZz4KI2luY2x1ZGUgPGNjdHlwZT4KI2luY2x1ZGUgPGNzdGRsaWI+CiNpbmNsdWRlIDx1dGlsaXR5PgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8c3RhY2s+CiNpbmNsdWRlIDxxdWV1ZT4KI2luY2x1ZGUgPHNldD4KI2luY2x1ZGUgPG1hcD4KI2luY2x1ZGUgPGJpdHNldD4KI2luY2x1ZGUgPHZlY3Rvcj4KI2luY2x1ZGUgPGRlcXVlPgojaW5jbHVkZSA8bGlzdD4KI2luY2x1ZGUgPGZ1bmN0aW9uYWw+CiNpbmNsdWRlIDxjbWF0aD4KI2RlZmluZSBscyh4KSB4PDwxCiNkZWZpbmUgcnMoeCkgeDw8MXwxCiNkZWZpbmUgbG93KHgpICh4Ji14KQojZGVmaW5lIG1wIG1ha2VfcGFpcgojZGVmaW5lIFggZmlyc3QKI2RlZmluZSBZIHNlY29uZAojaWZkZWYgX0RFQlVHCiAgICBjb25zdCBpbnQgTj0xZTMrMTA7CiNlbHNlCiAgICBjb25zdCBpbnQgTj0yZTMrMTA7CiNlbmRpZgp1c2luZyBuYW1lc3BhY2Ugc3RkOwp0eXBlZGVmIGxvbmcgbG9uZyBsbDsKdHlwZWRlZiBwYWlyPGludCxpbnQ+IHBpOwp0eXBlZGVmIHBhaXI8bGwsbGw+IHBsOwp0eXBlZGVmIGRvdWJsZSBkYjsKY29uc3QgbGwgbW9kPTFlOSs3Owp0ZW1wbGF0ZTx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AgIHJldHVybiAwOwp9"
Project_CodeNet_C++1000/p02709/s348740083
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IGFbMjAwNV07CnBhaXIgPGludCwgaW50PiBiWzIwMDVdOwpsb25nIGxvbmcgZHBbMjAwNV1bMjAwNV07CgppbnQgbWFpbigpIHsKCWludCBuOwoJc2NhbmYoIiVkIiwgJm4pOwoJCglmb3IgKGludCBpID0gMTsgaSA8PSBuOyBpKyspIHNjYW5mKCIlZCIsICZhW2ldKTsKCQoJZm9yIChpbnQgaSA9IDE7IGkgPD0gbjsgaSsrKSBiW2ldID0gbWFrZV9wYWlyKGFbaV0sIGkpOwoJc29ydChiICsgMSwgYiArIDEgKyBuLCBncmVhdGVyPHBhaXI8aW50LCBpbnQ+PigpKTsKCQoJZHBbMF1bMF0gPSAwOwoJCglmb3IgKGludCBpID0gMTsgaSA8PSBuOyBpKyspIHsKCQlmb3IgKGludCBqID0gMDsgaiA8PSBpOyBqKyspIHsKCQkJLy8gbGVmdAoJCQlpZiAoaiAtIDEgPj0gMCkgZHBbaV1bal0gPSBtYXgoZHBbaV1bal0sIGRwW2kgLSAxXVtqIC0gMV0gKyAxTEwgKiBiW2ldLmZpcnN0ICogKGJbaV0uc2Vjb25kIC0gaikpOwoJCQkKCQkJLy8gcmlnaHQKCQkJaWYgKGogIT0gaSkJZHBbaV1bal0gPSBtYXgoZHBbaV1bal0sIGRwW2kgLSAxXVtqXSArIDFMTCAqIGJbaV0uZmlyc3QgKiAobiAtIChpIC0gaikgKyAxIC0gYltpXS5zZWNvbmQpKTsgCgkJfQoJfQoJCglsb25nIGxvbmcgcmVzID0gMDsKCQoJZm9yIChpbnQgaSA9IDA7IGkgPD0gbjsgaSsrKSByZXMgPSBtYXgocmVzLCBkcFtuXVtpXSk7CgkKCXByaW50ZigiJWxsZFxuIiwgcmVzKTsKfQo="
Project_CodeNet_C++1000/p02709/s411968947
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+Cgp1c2luZyBsbCA9IGxvbmcgbG9uZzsKY29uc3QgaW50IG1heG4gPSAyZTMgKyAzOwoKaW50IG4sIGFbbWF4bl0sIG9bbWF4bl07CmxsIGRbbWF4bl1bbWF4bl07CgppbnQgbWFpbigpIHsKICAgIHNjYW5mKCIlZCIsICZuKTsKICAgIGZvcihpbnQgaSA9IDE7IGkgPD0gbjsgKytpKSB7CiAgICAgICAgc2NhbmYoIiVkIiwgYSArIGkpOwogICAgfQogICAgc3RkOjppb3RhKG8gKyAxLCBvICsgbiArIDEsIDEpOwogICAgc3RkOjpzb3J0KG8gKyAxLCBvICsgbiArIDEsIFtdIChpbnQgaSwgaW50IGopIHsKICAgICAgICByZXR1cm4gYVtpXSA+IGFbal07CiAgICB9KTsKICAgIGZvcihpbnQgdCA9IDE7IHQgPD0gbjsgKyt0KSB7CiAgICAgICAgaW50IGkgPSBvW3RdOwogICAgICAgIGxsIHUgPSBhW2ldOwogICAgICAgIGZvcihpbnQgaiA9IDA7IGogPD0gdDsgKytqKSB7CiAgICAgICAgICAgIGludCBrID0gbiAtICh0IC0gaikgKyAxOwogICAgICAgICAgICBpZihqIDwgdCkKICAgICAgICAgICAgICAgIGRbdF1bal0gPSBzdGQ6Om1heChkW3RdW2pdLCBkW3QgLSAxXVtqXSArIHN0ZDo6YWJzKGkgLSBrKSAqIHUpOwogICAgICAgICAgICBpZihqKQogICAgICAgICAgICAgICAgZFt0XVtqXSA9IHN0ZDo6bWF4KGRbdF1bal0sIGRbdCAtIDFdW2ogLSAxXSArIHN0ZDo6YWJzKGkgLSBqKSAqIHUpOwogICAgICAgIH0KICAgIH0KICAgIHByaW50ZigiJWxsZFxuIiwgKnN0ZDo6bWF4X2VsZW1lbnQoZFtuXSwgZFtuXSArIG4gKyAxKSk7CiAgICByZXR1cm4gMDsKfQ=="
Project_CodeNet_C++1000/p02709/s174419734
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKdHlwZWRlZiBsb25nIGxvbmcgbGw7CnR5cGVkZWYgcGFpcjxpbnQsaW50PlA7CmNvbnN0IGRvdWJsZSBlcHMgPSAxZS04Owpjb25zdCBpbnQgTklORiA9IDB4YzBjMGMwYzA7CmNvbnN0IGludCBJTkYgID0gMHgzZjNmM2YzZjsKY29uc3QgbGwgIG1vZCAgPSAxZTkgKyA3Owpjb25zdCBsbCAgbWF4biA9IDFlNiArIDU7CmNvbnN0IGludCBOID0gMjAwMCArIDU7CgppbnQgbjsKcGFpcjxsbCxpbnQ+IGFbTl07CmxsIGZbTl1bTl07CgppbnQgbWFpbigpewoJaW9zOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpOwoJY2luLnRpZSgwKTsKCWNpbj4+bjsKCWZvcihpbnQgaT0wO2k8bjtpKyspewoJCWNpbj4+YVtpXS5maXJzdDsKCQlhW2ldLnNlY29uZD1pOwoJfQoJc29ydChhLGErbixncmVhdGVyPHBhaXI8aW50LGludD4gPigpKTsKCWZvcihpbnQgaT0wO2k8bjtpKyspewoJCWZvcihpbnQgaj0wO2o8PWk7aisrKXsKCQkJaW50IGs9aS1qOwoJCQlmW2orMV1ba109bWF4KGZbaisxXVtrXSxmW2pdW2tdK2FbaV0uZmlyc3QqYWJzKGFbaV0uc2Vjb25kLWopKTsKCQkJZltqXVtrKzFdPW1heChmW2pdW2srMV0sZltqXVtrXSthW2ldLmZpcnN0KmFicyhuLWstMS1hW2ldLnNlY29uZCkpOwoJCX0KCX0KCWxsIGFucz0wOwoJZm9yKGludCBpPTA7aTw9bjtpKyspIGFucz1tYXgoYW5zLGZbaV1bbi1pXSk7Cgljb3V0PDxhbnM7CglyZXR1cm4gMDsKfQ=="
Project_CodeNet_C++1000/p02709/s554008675
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I3ByYWdtYSBHQ0Mgb3B0aW1pemUgKCJPZmFzdCIpCiNpbmNsdWRlPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnZvaWQgKndtZW07CmNoYXIgbWVtYXJyWzk2MDAwMDAwXTsKdGVtcGxhdGU8Y2xhc3MgUywgY2xhc3MgVD4gaW5saW5lIFMgbWF4X0woUyBhLFQgYil7CiAgcmV0dXJuIGE+PWI/YTpiOwp9CnRlbXBsYXRlPGNsYXNzIFQ+IGlubGluZSB2b2lkIHdhbGxvYzFkKFQgKiphcnIsIGludCB4LCB2b2lkICoqbWVtID0gJndtZW0pewogIHN0YXRpYyBpbnQgc2tpcFsxNl0gPSB7MCwgMTUsIDE0LCAxMywgMTIsIDExLCAxMCwgOSwgOCwgNywgNiwgNSwgNCwgMywgMiwgMX07CiAgKCptZW0pID0gKHZvaWQqKSggKChjaGFyKikoKm1lbSkpICsgc2tpcFsoKHVuc2lnbmVkIGxvbmcgbG9uZykoKm1lbSkpICYgMTVdICk7CiAgKCphcnIpPShUKikoKm1lbSk7CiAgKCptZW0pPSgoKmF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ogICAgZSA9IGZyZWFkX3VubG9ja2VkKGJ1ZiwgMSwgMTA0ODU3Niwgc3RkaW4pOwogICAgcyA9IDA7CiAgfQogIGlmKHMgPT0gZSl7CiAgICByZXR1cm4gRU9GOwogIH0KICByZXR1cm4gYnVmW3MrK107Cn0KaW5saW5lIHZvaWQgcmQoaW50ICZ4KXsKICBpbnQgazsKICBpbnQgbT0wOwogIHg9MDsKICBmb3IoOzspewogICAgayA9IG15X2dldGNoYXJfdW5sb2NrZWQoKTsKICAgIGlmKGs9PSctJyl7CiAgICAgIG09MTsKICAgICAgYnJlYWs7CiAgICB9CiAgICBpZignMCc8PWsmJms8PSc5Jyl7CiAgICAgIHg9ay0nMCc7CiAgICAgIGJyZWFrOwogICAgfQogIH0KICBmb3IoOzspewogICAgayA9IG15X2dldGNoYXJfdW5sb2NrZWQoKTsKICAgIGlmKGs8JzAnfHxrPic5Jyl7CiAgICAgIGJyZWFrOwogICAgfQogICAgeD14KjEwK2stJzAnOwogIH0KICBpZihtKXsKICAgIHg9LXg7CiAgfQp9CmlubGluZSB2b2lkIHJkKGxvbmcgbG9uZyAmeCl7CiAgaW50IGs7CiAgaW50IG09MDsKICB4PTA7CiAgZm9yKDs7KXsKICAgIGsgPSBteV9nZXRjaGFyX3VubG9ja2VkKCk7CiAgICBpZihrPT0nLScpewogICAgICBtPTE7CiAgICAgIGJyZWFrOwogICAgfQogICAgaWYoJzAnPD1rJiZrPD0nOScpewogICAgICB4PWstJzAnOwogICAgICBicmVhazsKICAgIH0KICB9CiAgZm9yKDs7KXsKICAgIGsgPSBteV9nZXRjaGFyX3VubG9ja2VkKCk7CiAgICBpZihrPCcwJ3x8az4nOScpewogICAgICBicmVhazsKICAgIH0KICAgIHg9eCoxMCtrLScwJzsKICB9CiAgaWYobSl7CiAgICB4PS14OwogIH0KfQpzdHJ1Y3QgTVlfV1JJVEVSewogIGNoYXIgYnVmWzEwNDg1NzZdOwogIGludCBzOwogIGludCBlOwogIE1ZX1dSSVRFUigpew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sb25nIGxvbmcgZHBbMjAwMF07CmxvbmcgbG9uZyBueFsyMDAwXTsKaW50IG1haW4oKXsKICBpbnQgaSwgazsKICB3bWVtID0gbWVtYXJyOwogIGludCB4OwogIGludCB5OwogIHJkKE4pOwogIHsKICAgIGludCBMajRQZEhSVzsKICAgIGZvcihMajRQZEhSVz0oMCk7TGo0UGRIUlc8KE4pO0xqNFBkSFJXKyspewogICAgICByZChBW0xqNFBkSFJXXSk7CiAgICB9CiAgfQogIGZvcihpPSgwKTtpPChOKTtpKyspewogICAgaW5kW2ldID0gaTsKICB9CiAgcnNvcnRBX0woTiwgQSwgaW5kKTsKICBmb3Ioaz0oMCk7azwoTik7aysrKXsKICAgIGZvcihpPSgwKTtpPChrKzIpO2krKyl7CiAgICAgIG54W2ldID0gLTQ2MTE2ODYwMTYyNzk5MDQyNTZMTDsKICAgIH0KICAgIGZvcihpPSgwKTtpPChrKzEpO2krKyl7CiAgICAgIHggPSBpOwogICAgICB5ID0gTiAtIDEgLSAoay1pKTsKICAgICAgY2htYXgobnhbaSsxXSwgZHBbaV0gKyBhYnMoaW5kW2tdLXgpICogQVtrXSk7CiAgICAgIGNobWF4KG54W2ldLCBkcFtpXSArIGFicyhpbmRba10teSkgKiBBW2tdKTsKICAgIH0KICAgIGZvcihpPSgwKTtpPChrKzIpO2krKyl7CiAgICAgIGRwW2ldID0gbnhbaV07CiAgICB9CiAgfQogIHsKICAgIGludCBhMmNvbk5IYzsKICAgIGxvbmcgbG9uZyBoQ21CZHlRQjsKICAgIGlmKE4rMT09MCl7CiAgICAgIGhDbUJkeVFCID0gMDsKICAgIH0KICAgIGVsc2V7CiAgICAgIGhDbUJkeVFCID0gZHBbMF07CiAgICAgIGZvcihhMmNvbk5IYz0oMSk7YTJjb25OSGM8KE4rMSk7YTJjb25OSGMrKyl7CiAgICAgICAgaENtQmR5UUIgPSBtYXhfTChoQ21CZHlRQiwgZHBbYTJjb25OSGNdKTsKICAgICAgfQogICAgfQogICAgd3RfTChoQ21CZHlRQik7CiAgICB3dF9MKCdcbicpOwogIH0KICByZXR1cm4gMDsKfQovLyBjTGF5IHZhcnNpb24gMjAyMDA0MzAtMQoKLy8gLS0tIG9yaWdpbmFsIGNvZGUgLS0tCi8vIGludCBOLCBpbmRbMjAwMF07Ci8vIGxsIEFbMjAwMF07Ci8vIGxsIGRwWzIwMDBdLCBueFsyMDAwXTsKLy8gewovLyAgIGludCB4LCB5OwovLyAgIHJkKE4sQShOKSk7Ci8vICAgcmVwKGksTikgaW5kW2ldID0gaTsKLy8gICByc29ydEEoTiwgQSwgaW5kKTsKLy8gCi8vICAgcmVwKGssTil7Ci8vICAgICByZXAoaSxrKzIpIG54W2ldID0gLWxsX2luZjsKLy8gICAgIHJlcChpLGsrMSl7Ci8vICAgICAgIHggPSBpOwovLyAgICAgICB5ID0gTiAtIDEgLSAoay1pKTsKLy8gICAgICAgbnhbaSsxXSA+Pz0gZHBbaV0gKyBhYnMoaW5kW2tdLXgpICogQVtrXTsKLy8gICAgICAgbnhbaV0gPj89IGRwW2ldICsgYWJzKGluZFtrXS15KSAqIEFba107Ci8vICAgICB9Ci8vICAgICByZXAoaSxrKzIpIGRwW2ldID0gbnhbaV07Ci8vICAgfQovLyAKLy8gICB3dChtYXgoZHAoTisxKSkpOwovLyB9Cg=="
Project_CodeNet_C++1000/p02709/s474858490
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CiNpbmNsdWRlIDxzdGRpby5oPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKI2RlZmluZSBpbnB1dEludChhKSBpbnQgYTsgY2luID4+IGE7IAojZGVmaW5lIGlucHV0SW50MihhLGIpIGludCBhOyBpbnQgYjsgY2luID4+IGEgPj4gYjsgCi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nNlY29uZC0oTi1yKzEpKSk7CiAgICB9CiAgfQogIAogIC8vIG91dHB1dAogIGxsIGFucyA9IDA7CiAgZm9yKGludCBpPTA7IGk8PU47IGkrKyl7CiAgICBhbnMgPSBtYXgoYW5zLGRwW2ldW04taV0pOyAKICB9CiAgCiAgY291dCA8PCBhbnMgPDwgZW5kbDsKCiAgcmV0dXJuIDA7Cn0="
Project_CodeNet_C++1000/p02709/s031925263
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CiNkZWZpbmUgV0hPTEUodikgKHYpLmJlZ2luKCksICh2KS5lbmQoKQojZGVmaW5lIFJFVl9XSE9MRSh2KSAodikucmJlZ2luKCksICh2KS5yZW5kKCkKdXNpbmcgaTY0ID0gaW50NjRfdDsKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKdGVtcGxhdGU8Y2xhc3MgRj5hdXRvIHJlY3Vyc2l2ZShGIGYpe3JldHVybltmXShhdXRvLi4uYSl7cmV0dXJuIGYoZixhLi4uKTt9O30KdGVtcGxhdGU8Y2xhc3MgSSxjbGFzcyBWPXR5cGVuYW1lIEk6OnZhbHVlX3R5cGU+ViBzdW1fdXAoY29uc3QgSSZsLGNvbnN0IEkmcil7ViB2O2ZvcihJIGk9bDtpIT1yO2krKyl2PWk9PWw/Kmk6disqaTtyZXR1cm4gdjt9CnRlbXBsYXRlPGNsYXNzIEksY2xhc3MgVD1pdGVyYXRvcl90cmFpdHM8ST4+SSBvcGVyYXRvcisoSSBpdCxpbnQgbil7Zm9yKGludCBpPTA7aTxuO2krKylpdCsrO3JldHVybiBpdDt9CnRlbXBsYXRlPGNsYXNzIEksY2xhc3MgVD1pdGVyYXRvcl90cmFpdHM8ST4+SSBvcGVyYXRvci0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pdOwogICAgICAgIC8vIGogPSB4ICsgeQogICAgICAgIGZvcihpbnQgeCA9IDA7IHggPD0gajsgeCsrKSB7CiAgICAgICAgICAgIGludCB5ID0gaiAtIHg7CiAgICAgICAgICAgIG1heF9hc3NpZ24oZHBbeCArIDFdW3ldLCBhICogKGkgLSB4KSArIGRwW3hdW3ldKTsKICAgICAgICAgICAgbWF4X2Fzc2lnbihkcFt4XVt5ICsgMV0sIGEgKiAoTiAtIDEgLSB5IC0gaSkgKyBkcFt4XVt5XSk7CiAgICAgICAgfQogICAgfQogICAgaTY0IGFucyA9IDA7CiAgICBmb3IoaW50IHggPSAwOyB4IDw9IE47IHgrKykgewogICAgICAgIGludCB5ID0gTiAtIHg7CiAgICAgICAgbWF4X2Fzc2lnbihhbnMsIGRwW3hdW3ldKTsKICAgIH0KICAgIGNvdXQgPDwgYW5zIDw8IGVuZGw7CiAgICByZXR1cm4gMDsKfQoK"
Project_CodeNet_C++1000/p02709/s902319635
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiNkZWZpbmUgcmVwKGksbikgZm9yIChpbnQgaSA9IDA7IGkgPCAobik7ICsraSkKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKdHlwZWRlZiBsb25nIGxvbmcgbGw7CnR5cGVkZWYgcGFpcjxpbnQsIGludD4gUDsKCnN0YXRpYyBjb25zdCBpbnQgSU5GID0gMTAwMTAwMTAwMTsKc3RhdGljIGNvbnN0IGludCBNQVggPSAyMDA1OwpsbCBkcFtNQVhdW01BWF07CgppbnQgbWFpbigpewogICAgaW50IG47IGNpbiA+PiBuOwogICAgdmVjdG9yPGludD4gYShuKTsKICAgIHJlcChpLG4pIGNpbiA+PiBhW2ldOwogICAgcmVwKGksIG4rMSkgcmVwKGosIG4rMSkgZHBbaV1bal0gPSAtSU5GOwogICAgZHBbMF1bMF0gPSAwOwogICAgdmVjdG9yPFA+IHA7CiAgICByZXAoaSxuKSBwLmVtcGxhY2VfYmFjayhhW2ldLGkpOwogICAgc29ydChwLnJiZWdpbigpLCBwLnJlbmQoKSk7CiAgICByZXAoaSxuKXsKICAgICAgICBpbnQgcGkgPSBwW2ldLnNlY29uZDsKICAgICAgICByZXAobCxpKzEpIHsKICAgICAgICAgICAgaW50IHIgPSBpIC0gbDsKICAgICAgICAgICAgZHBbaSsxXVtsKzFdID0gbWF4KGRwW2krMV1bbCsxXSAsIGRwW2ldW2xdK2xsKHBpLWwpKmFbcGldKTsKICAgICAgICAgICAgZHBbaSsxXVtsXSA9IG1heChkcFtpKzFdW2xdLCBkcFtpXVtsXStsbCgobi1yLTEpLXBpKSphW3BpXSk7IAogICAgICAgIH0KICAgIH0KICAgIGxsIGFucyA9IDA7CiAgICByZXAoaSxuKzEpIGFucyA9IG1heChhbnMsIGRwW25dW2ldKTsKICAgIGNvdXQgPDwgYW5zIDw8IGVuZGw7CiAgICByZXR1cm4gMDsKfQ=="
Project_CodeNet_C++1000/p02709/s410003361
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2xpbmUgMSAiL21udC9jL1VzZXJzL2xlYWZjL2Rldi9jb21wcm8vbGliL3RlbXBsYXRlLmhwcCIKCgojaW5jbHVkZSA8Yml0cy9zdGRjKysuaD4KI2RlZmluZSBSRVAoaSwgbikgZm9yIChpbnQgaSA9IDA7IGkgPCBuOyBpKyspCiNkZWZpbmUgRk9SKGksIG0sIG4pIGZvciAoaW50IGkgPSBtOyBpIDwgbjsgaSsrKQojZGVmaW5lI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gMSAtIGopIC0gYVtpIC0gMV0uc2Vjb25kKSAqIGFbaSAtIDFdLmZpcnN0KTsKICAgICAgaWYgKGogPiAwKSB7CiAgICAgICAgY2htYXgoZHBbaV1bal0sIGRwW2kgLSAxXVtqIC0gMV0gKyAobGwpYWJzKGogLSBhW2kgLSAxXS5zZWNvbmQpICogYVtpIC0gMV0uZmlyc3QpOwogICAgICB9CiAgICB9CiAgfQogIGxsIGFucyA9IDA7CiAgUkVQKGksIG4gKyAxKSB7IGNobWF4KGFucywgZHBbbl1baV0pOyB9CiAgY291dCA8PCBhbnMgPDwgZW5kbDsKICByZXR1cm4gMDsKfQo="
Project_CodeNet_C++1000/p02709/s135645730
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpewogIGludCBOOwogIGNpbiA+PiBOOwogIAogIHZlY3RvcjxpbnQ2NF90PiBkYXRhKE4pOwogIGZvcihpbnQgaT0wOyBpPE47IGkrKyl7CiAgICBjaW4gPj4gZGF0YS5hdChpKTsKICB9CgogIHZlY3RvcjxpbnQ+IGlkeChOKTsKICBpb3RhKGlkeC5iZWdpbigpLCBpZHguZW5kKCksIDApOwoKICBhdXRvIGNvbXA9IFsmXShpbnQgaSwgaW50IGopewogICAgcmV0dXJuIGRhdGEuYXQoaSkgPiBkYXRhLmF0KGopOwogIH07CiAgc29ydChpZHguYmVnaW4oKSwgaWR4LmVuZCgpLCBjb21wKTsKCiAgdmVjdG9yPGludDY0X3Q+IGRwKE4rMSk7CiAgdmVjdG9yPGludDY0X3Q+IGJ1ZihOKzEpOwogIGZvcihpbnQgbl9wZXJtPTE7IG5fcGVybTw9IE47IG5fcGVybSsrKXsKICAgIGludCBpMD0gaWR4LmF0KG5fcGVybS0xKTsKICAgIGludDY0X3QgYTA9IGRhdGEuYXQoaTApOwogICAgZm9yKGludCBuX2xlZnQ9MDsgbl9sZWZ0IDw9IG5fcGVybTsgbl9sZWZ0KyspewogICAgICBpbnQgbl9yaWdodD0gbl9wZXJtLSBuX2xlZnQ7CiAgICAgIGludCBpX2xlZnQgPSBuX2xlZnQtIDE7CiAgICAgIGludCBpX3JpZ2h0PSBOLSBuX3JpZ2h0OwoKICAgICAgYnVmLmF0KG5fbGVmdCk9IChuX2xlZnQgPT0wKSA/IGRwLmF0KG5fbGVmdCkrIGEwKiBhYnMoaV9yaWdodC0gaTApCiAgICAgICAgICAgICAgICAgICAgIDoobl9yaWdodD09MCkgPyBkcC5hdChuX2xlZnQtIDEpKyBhMCogYWJzKGlfbGVmdC0gaTApCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOiBtYXgoZHAuYXQobl9sZWZ0KSsgYTAqIGFicyhpX3JpZ2h0LSBpMCksIGRwLmF0KG5fbGVmdC0gMSkrIGEwKiBhYnMoaV9sZWZ0LSBpMCkpOwogICAgfQoKICAgIGRwPSBidWY7CiAgfQoKICBpbnQ2NF90IGFucz0gMDsKICBmb3IoYXV0byBlbGVtOmRwKXsKICAgIGFucz0gbWF4KGFucywgZWxlbSk7CiAgfQoKICBjb3V0IDw8IGFucyA8PCBlbmRsOwp9"
Project_CodeNet_C++1000/p02709/s328468516
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"CgojaW5jbHVkZSA8bGltaXRzPgojaW5jbHVkZSA8aW9zdHJlYW0+CiNpbmNsdWRlIDxjc3RkaW8+CiNpbmNsdWRlIDxjc3RkbGliPgojaW5jbHVkZSA8Y3N0cmluZz4KI2luY2x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G1wICs9IHBzW3RhcmdldF0uZmlyc3QgKiAoKG4tcmlnaHQpIC0gcHNbdGFyZ2V0XS5zZWNvbmQpOwogICAgICAgIHJlcyA9IG1heChyZXMsIHRtcCk7CiAgICAgIH0KICAgIH0KICB9CiAgcmV0dXJuIHJlczsKfQoKCgppbnQgbWFpbih2b2lkKSB7CiAgc2NhbmYoIiVkIiwgJm4pOwogIAogIFJFUChpLCBuKSB7CiAgICBzY2FuZigiJWxsZCIsICZ2c1tpXSk7CiAgICBwc1tpXSA9IG1ha2VfcGFpcih2c1tpXSwgaSk7CiAgfQogIHNvcnQocHMsIHBzICsgbik7CiAgcmV2ZXJzZShwcywgcHMgKyBuKTsKICBsbCByZXMgPSAwOwogIFJFUChpLCBuKzEpIHsKICAgIHJlcyA9IG1heChyZXMsIHNvbHZlKG4sIGkpKTsKICB9CiAgY291dCA8PCByZXMgPDwgZW5kbDsKICByZXR1cm4gMDsKfQo="
Project_CodeNet_C++1000/p02709/s116713571
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnR5cGVkZWYgbG9uZyBsb25nIGxsOwojZGVmaW5lIGludCBsb25nIGxvbmcKaW50IGRwWzIwMTBdWzIwMTBdOwppbnQgYVsyMDEwXTsKc3RydWN0IG5vZGUKewogICAgaW50IGZpcnN0OwogICAgaW50IHNlY29uZDsKfWNbNTAwMV07CgoKYm9vbCBjbXAobm9kZSBwMSxub2RlIHAyKQp7CiAgICByZXR1cm4gcDEuc2Vjb25kPnAyLnNlY29uZDsKfQoKaW50IHdvcmsoaW50IG5vdyxpbnQgbCxpbnQgcikKewoJaWYgKGw+cikgIHJldHVybiBjW25vd10uc2Vjb25kOwoJaWYgKGRwW2xdW3JdIT0gLTEpICByZXR1cm4gZHBbbF1bcl07CgoJaW50IGY9d29yayhub3crMSxsKzEscikrY1tub3ddLnNlY29uZCphYnMoY1tub3ddLmZpcnN0LWwpOwoJaW50IHM9d29yayhub3crMSxsLHItMSkrY1tub3ddLnNlY29uZCphYnMoY1tub3ddLmZpcnN0LXIpOwoJZHBbbF1bcl09bWF4KGRwW2xdW3JdLCBtYXgoZixzKSApOwoKCXJldHVybiBkcFtsXVtyXTsKfQpzaWduZWQgbWFpbigpCnsKICAgIGludCBuOwogICAgY2luPj5uOwogICAgbWVtc2V0KGRwLC0xLHNpemVvZihkcCkpOwogICAgZm9yKGludCBpPTE7aTw9bjtpKyspCiAgICB7CiAgICAgICAgY2luPj5hW2ldOwogICAgICAgIGNbaV0uc2Vjb25kID0gYVtpXTsKICAgICAgICBjW2ldLmZpcnN0ID0gaTsKICAgIH0KICAgIHNvcnQoYysxLGMrMStuLGNtcCk7CiAgICBjb3V0PDx3b3JrKDEsMSxuKTsKICAgIC8qCiAgICBmb3IoaW50IGw9MTtsPD1uO2wrKykKICAgIHsKICAgICAgICBmb3IoaW50IHI9MTtyPD1uO3IrKykKICAgICAgICB7CiAgICAgICAgICAgIGlmKGwrcj09bisxKQogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICBhbnM9bWF4KGFucyxkcFtsXVtyXSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgY250PWwrci0xOwogICAgICAgICAgICBkcFtsKzFdW3JdPSBtYXgoZHBbbCsxXVtyXSxkcFtsXVtyXSthYnMoY1tjbnRdLmZpcnN0LWwpKmNbY250XS5zZWNvbmQpOwogICAgICAgICAgICBkcFtsXVtyLTFdPSBtYXgoZHBbbF1bci0xXSxkcFtsXVtyXSthYnMociAtIGNbY250XS5maXJzdCkqY1tjbnRdLnNlY29uZCk7CiAgICAgICAgfQogICAgfSovCiAgICAvL2NvdXQ8PGFuczw8ZW5kbDsKfQ=="
Project_CodeNet_C++1000/p02709/s953523283
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"Ly8gSSBTRUxMIFlPVS4uLiEgCiNpbmNsdWRlPGlvc3RyZWFtPgojaW5jbHVkZTx2ZWN0b3I+CiNpbmNsdWRlPGFsZ29yaXRobT4KI2luY2x1ZGU8ZnVuY3Rpb25hbD4KI2luY2x1ZGU8cXVldWU+CiNpbmNsdWRlPGNocm9ubz4KI2luY2x1ZGU8aW9tYW5pcD4KI2luY2x1ZGU8bWFwPgojaW5jbHVkZTxzZXQ+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnVzaW5nIGxsID0gbG9uZyBsb25nOwp1c2luZyBQID0gcGFpcjxsbCxsbD47CnVzaW5nIFRQID0gdHVwbGU8bGwsbGwsbGw+Owp2b2lkIGluaXRfaW8oKXsKICBjaW4udGllKDApOwogIGlvczo6c3luY193aXRoX3N0ZGlvKGZhbHNlKTsKICBjb3V0IDw8IHNldHByZWNpc2lvbigxOCk7Cn0KbGwgc2NvcmUoUCB4LGxsIGkpewogIHJldHVybiBhYnMoaS14LnNlY29uZCkqeC5maXJzdDsKfQpzaWduZWQgbWFpbigpewogIGluaXRfaW8oKTsKICBsbCBuLGFucz0wOwogIGNpbiA+PiBuOwogIHZlY3RvcjxQPiBhKG4pOwogIHZlY3Rvcjx2ZWN0b3I8bGw+PiBkcChuKzEsdmVjdG9yPGxsPihuKzEsMCkpOwogIGZvcihpbnQgaT0wO2k8bjtpKyspewogICAgY2luID4+IGFbaV0uZmlyc3Q7CiAgICBhW2ldLnNlY29uZCA9IGk7CiAgfQogIHNvcnQoYS5iZWdpbigpLGEuZW5kKCksZ3JlYXRlcjxQPigpKTsKICBmb3IoaW50IGk9MDtpPG47aSsrKXsKICAgIGZvcihpbnQgbD0wO2w8PWkrMTtsKyspewogICAgICBsbCByID0gaSsxLWw7CiAgICAgIGlmKGwhPTApewogICAgICAgIGRwW2xdW3JdID0gbWF4KGRwW2wtMV1bcl0rc2NvcmUoYVtpXSxsLTEpLGRwW2xdW3JdKTsKICAgICAgfQogICAgICBpZihyIT0wKXsKICAgICAgICBkcFtsXVtyXSA9IG1heChkcFtsXVtyLTFdK3Njb3JlKGFbaV0sbi1yKSxkcFtsXVtyXSk7CiAgICAgIH0KICAgICAgYW5zID0gbWF4KGFucyxkcFtsXVtyXSk7CiAgICB9CiAgfQogIGNvdXQgPDwgYW5zIDw8IGVuZGw7Cn0K"
Project_CodeNet_C++1000/p02709/s636576829
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CiNkZWZpbmUgcmVwKGksIG4pIGZvciAoaW50IGkgPSAwOyBpIDwgKG4pOyArK2kpCiNkZWZpbmUgc3ooeCkgaW50KHguc2l6ZSgpKQojZGVmaW5lIHNob3coeCkge2ZvcihhdXRvIGk6IHgpe2NvdXQgPDwgaSA8PCAiICI7fSBjb3V0IDw8IGVuZGw7fQp1c2luZyBuYW1lc3BhY2Ugc3RkOwp1c2luZyBsbCA9IGxvbmcgbG9uZzsKdXNpbmcgUCA9IHBhaXI8aW50LCBpbnQ+OwoKY29uc3QgbGwgSU5GID0gMWUxMjsKbGwgZHBbMjAwNV1bMjAwNV07CgppbnQgbWFpbigpIHsKICAgIC8vIOiyquassuOBp+OBr+ODgOODoeOBneOBhuOAgeWPs+OBq+enu+WLleOBmeOCi+OCguOBruOBqOW3puOBq+enu+WLleOBmeOCi+OCguOBruOAgURQCiAgICAvLyBkcFtpXVtqXSDlt6bjga9p5YCL5rG644KB44Gm44CB5Y+z44GvauWAi+axuuOCgeOCiwogICAgLy8g5aSn44GN44GE5rS755m65bqm44GL44KJ5bem5Y+z44Gr5YWl44KM44KL5aC05ZCI44CBTyhOXjIp44Gn44KC5aSn5LiI5aSrCiAgICBpbnQgTjsKICAgIGNpbiA+PiBOOwogICAgdmVjdG9yPGludD4gQShOKTsKICAgIHJlcChpLCBOKSBjaW4gPj4gQVtpXTsKICAgIHZlY3RvcjxQPiBxdWU7CiAgICByZXAoaSwgTikgcXVlLmVtcGxhY2VfYmFjayhBW2ldLCBpKTsKICAgIHNvcnQocXVlLmJlZ2luKCksIHF1ZS5lbmQoKSk7CiAgICAvLyByZXAoaSwgTisyKSByZXAoaiwgTisyKSBkcFtpXVtqXSA9IElORjsKICAgIGRwWzBdWzBdID0gMDsKICAgIGludCBwZW9wbGUgPSAwOwogICAgd2hpbGUgKCFxdWUuZW1wdHkoKSkgewogICAgICAgIHBlb3BsZSsrOwogICAgICAgIGF1dG8gcCA9IHF1ZS5iYWNrKCk7IHF1ZS5wb3BfYmFjaygpOwogICAgICAgIGludCBtb3ZlID0gcC5maXJzdCwgaW5kID0gcC5zZWNvbmQ7CiAgICAgICAgLy8g5bem44Gr5YWl44KM44KLCiAgICAgICAgZm9yIChpbnQgaSA9IDE7IGkgPD0gTjsgaSsrKSB7CiAgICAgICAgICAgIGludCByaWdodCA9IHBlb3BsZSAtIGk7IC8vIOWPs+OBq+OBhOOCi+S6ugogICAgICAgICAgICBpZiAocmlnaHQgPCAwKSBicmVhazsKICAgICAgICAgICAgaW50IGxlZnQgPSBpLTE7IC8vIOW3puOBq+OBhOOBn+S6ugogICAgICAgICAgICBkcFtpXVtyaWdodF0gPSBtYXgoZHBbaV1bcmlnaHRdLCBkcFtsZWZ0XVtyaWdodF0gKyAobGwpbW92ZSAqIGFicyhpbmQgLSAoaS0xKSkpOwogICAgICAgIH0KICAgICAgICAvLyDlj7PjgavlhaXjgozjgosKICAgICAgICBmb3IgKGludCBpID0gMTsgaSA8PSBOOyBpKyspIHsKICAgICAgICAgICAgaW50IGxlZnQgPSBwZW9wbGUgLSBpOyAvLyDlt6bjgavjgYTjgovkuroKICAgICAgICAgICAgaWYgKGxlZnQgPCAwKSBicmVhazsKICAgICAgICAgICAgaW50IHJpZ2h0ID0gaS0xOyAvLyDlj7PjgavjgYTjgZ/kuroKICAgICAgICAgICAgZHBbbGVmdF1baV0gPSBtYXgoZHBbbGVmdF1baV0sIGRwW2xlZnRdW3JpZ2h0XSArIChsbCltb3ZlICogYWJzKGluZCAtICgoTi0xKS0oaS0xKSkpKTsKICAgICAgICB9CiAgICB9CiAgICBsbCBhbnMgPSAwOwogICAgcmVwKGksIE4pIGFucyA9IG1heChhbnMsIGRwW2ldW04taV0pOwogICAgY291dCA8PCBhbnMgPDwgJ1xuJzsKICAgIHJldHVybiAwOwogICAgLy8gbGwsIDAsIC0sIDFpLCBmb3IgcyZnLCBkZWJ1Zwp9"
Project_CodeNet_C++1000/p02709/s628846474
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz
"I2luY2x1ZGUgPGNzdGRpbz4KI2luY2x1ZGUgPGNzdGRsaWI+CiNpbmNsdWRlIDxjc3RyaW5nPgojaW5jbHVkZSA8aW9zdHJlYW0+CiNpbmNsdWRlIDxhbGdvcml0aG0+CiNpbmNsdWRlIDx2ZWN0b3I+CiNpbmNsdWRlIDxzdGFjaz4KI2luY2x1ZGUgPGNtYXRoPgojaW5jbHVkZSA8dW5vcmRlcmVkX21hcD4KCiNkZWZpbmUgTWF4TiAyMDEwCgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdHlwZWRlZiBsb25nIGxvbmcgbGw7CnR5cGVkZWYgcGFpcjxpbnQsIGludD4gcGlpOwoKaW50IG47CmludCBhW01heE5dOwpwaWkgYV9wW01heE5dOwpsbCBkcFtNYXhOXVtNYXhOXTsKCgppbnQgbWFpbigpIHsKICAgIHNjYW5mKCIlZCIsICZuKTsKICAgIGZvciAoaW50IGkgPSAxOyBpIDw9IG47ICsraSkgewogICAgICAgIHNjYW5mKCIlZCIsICZhW2ldKTsKICAgICAgICBhX3BbaV0gPSBtYWtlX3BhaXIoYVtpXSwgaSk7CiAgICB9CiAgICBzb3J0KGFfcCArIDEsIGFfcCArIG4gKyAxLCBncmVhdGVyPHBpaT4oKSk7CiAgICBmb3IgKGludCBpID0gMTsgaSA8PSBuOyArK2kpIHsKICAgICAgICBmb3IgKGludCBqID0gMTsgaiA8PSBpOyArK2opIHsKICAgICAgICAgICAgZHBbaV1bal0gPSBtYXgoZHBbaV1bal0sIGRwW2kgLSAxXVtqIC0gMV0gKyAobGwpYV9wW2ldLmZpcnN0ICogKGxsKWFicyhhX3BbaV0uc2Vjb25kIC0gaikpOwogICAgICAgIH0KICAgICAgICBmb3IgKGludCBqID0gMDsgaiA8IGk7ICsraikgewogICAgICAgICAgICBkcFtpXVtqXSA9IG1heChkcFtpXVtqXSwgZHBbaSAtIDFdW2pdICsgKGxsKWFfcFtpXS5maXJzdCAqIChsbClhYnMobiAtIChpIC0gaikgKyAxIC0gYV9wW2ldLnNlY29uZCkpOwogICAgICAgIH0KICAgIH0KICAgIGxsIGFucyA9IDA7CiAgICBmb3IgKGludCBpID0gMDsgaSA8PSBuOyArK2kpIHsKICAgICAgICBhbnMgPSBtYXgoYW5zLCBkcFtuXVtpXSk7CiAgICB9CiAgICBjb3V0IDw8IGFucyA8PCBlbmRsOwogICAgcmV0dXJuIDA7Cn0="
Project_CodeNet_C++1000/p02709/s787486515
/tmp/hf-datasets-cache/medium/datasets/17776486608575-config-parquet-and-info-jiahuimbzuai-CodeNet-d52f53e2/hub/datasets--jiahuimbzuai--CodeNet/snapshots/3f6f1dd6945634e60d6549bc0de32e00e9c43e93/Project_CodeNet_C++1000.tar.gz