Update gen.cpp

This commit is contained in:
Anthony Wang 2020-06-09 10:27:49 -05:00 committed by GitHub
parent a542eaf73e
commit d1036095a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,13 +4,12 @@
/ / __/ /___/ /_
/ /__/_ __/_ __/
\____//_/ /_/
112 characters
96 characters
Usage:
g++ gen.cpp -o gen
gen [KEY] [SITE]
*/
#include<iostream>
#define o(x) std::cout<<x
main(int c,char**v){o(v[1]);for(int i=0;i<4;++i)o(char(v[2][i]^37));}
#include<cstdio>
main(int c,char**v){printf(v[1]);for(int i=0;i<4;++i)putchar(char(v[2][i]^37));}