i need bfs problems and easy backtracking problems...
sorry for poor english
Search found 7 matches
- Wed Jul 25, 2007 8:06 pm
- Forum: Off topic (General chit-chat)
- Topic: i need problems
- Replies: 1
- Views: 30541
- Sun May 06, 2007 12:04 pm
- Forum: Volume 6 (600-699)
- Topic: 628 - Passwords
- Replies: 14
- Views: 13709
- Fri May 04, 2007 8:44 am
- Forum: Volume 4 (400-499)
- Topic: 489 - Hangman Judge
- Replies: 52
- Views: 23885
- Tue May 01, 2007 8:44 pm
- Forum: Volume 4 (400-499)
- Topic: 490 - Rotating Sentences
- Replies: 212
- Views: 48190
please help me, this is WA
Code: Select all
var n,i,max:integer;
s:string;
a:array[1..100]of string;
begin
repeat
readln(s);
if length(s)>max then max:=length(s);
for i:=1 to length(s) do
a[i]:=a[i]+s[i];
until eof;
for i:=1 to max do
writeln(a[i]);
readln;
end.
- Tue May 01, 2007 8:31 pm
- Forum: Volume 4 (400-499)
- Topic: 440 - Eeny Meeny Moo
- Replies: 18
- Views: 4195
- Tue May 01, 2007 4:33 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318350
- Tue May 01, 2007 2:13 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318350