Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
CPTTRN_2
//gcc 5.4.0 #include <stdio.h> int main(void) { int t,tc,i,j,row,col; scanf("%d",&tc); for(t=1;t<=tc;t++) { scanf("%d %d",&row,&col); for(i=1;i<=row;i++) { for(j=1;j<=col;j++) { if(i==1||j==1||j==col||i==row) { printf("*"); } else { printf(".");} } printf("\n"); } } printf("\n"); return 0; }
run
|
edit
|
history
|
help
0
18BCE2182 MIDTERM QUES-2
123
linear hybrid cellular automaton utilizing rules 90 and 150 with period of (2^64)-1 for generating high quality random bits is reversible
maximum_template
Code2
muuchas funciones utiles
Project 3 Part 1 v2
Time Stamp
Simple interest
DISEÑO DE TECLADO