Category: ACM-ICPC
#include<iostream> #include<cstring> #include<cstdio> using namespace std; int main(){ char ary[6]; int counter=0; while(1) { gets(ary); if(ary[0]==’*’) {…
#include<cstdio> int main() { char s[100]; while(gets(s)){ printf(“%s\n”,s); } return 0; }
Reference: https://github.com/deniscostadsc/playground/blob/master/uri/1332/1332.cpp Code: #include<cstdio> #include<cstring> using namespace std; int main() { int n; char s[6]; scanf(“%d”,&n); while(n–){ scanf(“%s”,&s);…
http://cseweek.bdosn.org/posts/1/how-to-prepare-for-programming-contest
Its means that the value of A[i] must be remained between 0 to 10000000000
Recent Comments