Shell script printing rectangle #!/bin/bash
for ((i=1;i<= 9;i++)) do for ((j=1;j<=9;j++)) do echo -n "*" done echo done
#!/bin/bash
for ((i=1;i<= 9;i++)) do for ((j=1;j<=9;j++)) do echo -n "*" done echo done
Shell script printing rectangle #!/bin/bash
for ((i=1;i<= 9;i++)) do for ((j=1;j<=9;j++)) do echo -n "*" done echo done
#!/bin/bash
for ((i=1;i<= 9;i++)) do for ((j=1;j<=9;j++)) do echo -n "*" done echo done
Subject link: http://acm.hdu.edu.cn/showproblem.php?pid=1506
#include
using namespace std;
const int N=1e5+7;
typedef long long ll;
ll arr[N];
int main(){
int n;
while(cin>>n,n){
s
So, I tried Pygame again (still a beginner), I tried to draw a rectangle, but the color just flickered. (Turquoise on the orange surface) Why does this happen?
This is the code snippet: