Account name:
Password
(OpenID?)
(Forgot it?)
Remember Me
You're viewing
404
Create a Dreamwidth Account
Learn More
Interest
Region
Site and Account
FAQ
Email
Reload page in style:
site
light
404: File Not Found
I really couldn't make this up if I tried.
I really couldn't make this up if I tried.
Mar
.
9th
,
2009
11:52 pm
sophie
posting in
404
Look at the number of messages in my Inbox:
I swear, that wasn't deliberate at all.
Flat
|
Top-Level Comments Only
LlCisXqFzAPpRpQ
Date:
2013-05-21 06:13 pm (UTC)
From:
(Anonymous)
int test(const char *str1, const char *str2){ printf( test for [%s] and [%s] , str1, str2); if(str1 == 0 || str2 == 0) { rertun 0; } int nBase[26] = {0}; while(*str1 != 0) { int nIndex = (*str1 A' > 25) ? (*str1 a') : (*str1 A'); nBase[nIndex] = 1; str1++; } while(*str2 != 0) { int nIndex = (*str2 A' > 25) ? (*str2 a') : (*str2 A'); if(nBase[nIndex] == 0) { rertun 0; } str2++; } rertun 1;}int _tmain(int argc, _TCHAR* argv[]){ printf( result is %d\n , test( ABCDEFGHLMNOPQRS , DCGSRQPOM )); printf( result is %d\n , test( ABCDEFGHLMNOPQRS , DCGSRQPOZ )); printf( result is %d\n , test( abcdefghlmnopqrs , DCGSRQPOM )); printf( result is %d\n , test( ABCDEFGHLMNOPQRS , dcgsrqpoz )); rertun 0;}
1 comment
Reply
Flat
|
Top-Level Comments Only
Profile
404: File Not Found
404: File Not Found
Recent Entries
Archive
Member Posts
Tags
Memories
Profile
May
2010
S
M
T
W
T
F
S
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Page Summary
(Anonymous)
-
LlCisXqFzAPpRpQ
Style Credit
Style:
by
timeasmymeasure
Expand Cut Tags
No cut tags
Page generated Mar. 12th, 2026 01:10 pm
Powered by
Dreamwidth Studios
LlCisXqFzAPpRpQ
Date: 2013-05-21 06:13 pm (UTC)