#include <iostream>
#include <fstream>
using namespace std;
int main() {
string location;
size_t file_size;
cin >> location >> file_size;
fstream write_file( location, ios::out | ios::binary );
for( size_t i = 0; i != file_size; ++i )
{
// use write_file.write() to add bytes into your binary file.
// the line below adds empty chars into your file (jut to fill it)
write_file.write( "", 1 );
}
write_file.close();
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8ZnN0cmVhbT4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCXN0cmluZyBsb2NhdGlvbjsKCXNpemVfdCBmaWxlX3NpemU7CgkKCWNpbiA+PiBsb2NhdGlvbiA+PiBmaWxlX3NpemU7CgoJZnN0cmVhbSB3cml0ZV9maWxlKCBsb2NhdGlvbiwgaW9zOjpvdXQgfCBpb3M6OmJpbmFyeSApOwoKCWZvciggc2l6ZV90IGkgPSAwOyBpICE9IGZpbGVfc2l6ZTsgKytpICkKCXsKCSAgICAvLyB1c2Ugd3JpdGVfZmlsZS53cml0ZSgpIHRvIGFkZCBieXRlcyBpbnRvIHlvdXIgYmluYXJ5IGZpbGUuCgkgICAgLy8gdGhlIGxpbmUgYmVsb3cgYWRkcyBlbXB0eSBjaGFycyBpbnRvIHlvdXIgZmlsZSAoanV0IHRvIGZpbGwgaXQpCgkgICAgd3JpdGVfZmlsZS53cml0ZSggIiIsIDEgKTsKCX0KCgl3cml0ZV9maWxlLmNsb3NlKCk7CglyZXR1cm4gMDsKfQ==