Skip to content

Commit 6818242

Browse files
committed
test.cpp updated
1 parent 3ac74db commit 6818242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void str(int l, int n) {
2828
{
2929
for(int j = 0; j < l; ++j) {
3030
int v = rand(1,150);
31-
if(3%3==0) cout<<(char)rand('a','z');
31+
if(v%3==0) cout<<(char)rand('a','z');
3232
else if(v%3==1) cout<<(char)rand('A','Z');
3333
else cout<<rand(0,9);
3434
}
@@ -86,5 +86,5 @@ void tree(int n) {
8686
}
8787
signed main()
8888
{
89-
freopen("input.txt","w",stdout);
89+
9090
}

0 commit comments

Comments
 (0)