Redian新闻
>
windows phone上要买apps有类似itune card的东西吗?
avatar
windows phone上要买apps有类似itune card的东西吗?# PDA - 掌中宝
d*a
1
新搬的家,炉子嵌进壁炉里,没法安装抽油烟机。而且主卧房的门正对着炉灶。看来,
我们的无烟厨房要正式开始了。
这两个都是LD最喜欢吃的菜,先从这两个开始试验。
First,回锅肉。
1。五花肉放冷水里煮开就关火,留在锅里盖着盖子焖上半个小时,然后冲冷水放凉切
片。本人刀工太差,只好切成长条状了,不影响美味的说。
2。切好的五花肉均匀铺在烤盘里,放烤箱高温broil十分钟。
3。Broil五花肉的同时,切好香芹。同时拿个小碗,倒上两勺郫县豆瓣酱,一勺酱油拌
匀,放微波炉里高火转30秒。记得一定要把碗盖上,不然微波炉里四壁和天花板都沾上
香喷喷的酱汁了。
4。取出五花肉,和芹菜和酱汁拌匀,再放进烤箱里350F烤十分钟,取出来再拌一拌就
可以上桌了。
这样做出来的芹菜还有一点点硬。其实用锡箔纸包好放烤箱里烤更长点时间更好,懒人
干脆都省了,反正不影响味道的说。
尖椒豆腐干更简单。一包豆腐干切薄片,倒点油,一点酱油拌匀,盘子上盖上paper
towel在微波炉里高火转1分半钟。切好尖椒,倒进加热后的豆腐干里,加点盐拌匀,再
高火1分半钟,Done!LD说和炒得没啥区别。
照片拍得不很好,将就看吧。
avatar
s*f
2
using System;
using System.Collections.Generic;
using System.Text;
namespace MSC
{
class Program
{
//“bool F(string s, char ch1, char
ch2, int n)”
//The function determines whether
or not there exists an occurrence of
//ch1 and ch2 separated by a
distance of no more than n in the given
//string s, where s is ascii and
user entered (your function needs
//to work on any input.) The
function must be efficient and
//**optimized** for both space and
time. Please state what the
//complexity of your solution is.
//The time complexity of this
solution is O(N), where N is s.length,
//because the function only scan
the string 1 time.
//The space complexity is O(1),
since no additional data structures
//are used, except some local
variables.
static bool F(string s, char ch1,
char ch2, int n)
{
if (string.IsNullOrEmpty(s) ||
n < 1)
return false;
if (ch1 == ch2)
{
int iLeft = s.IndexOf(ch1);
if (-1 == iLeft)
{
return false;
}
int iRight = s.IndexOf(ch1,
iLeft + 1);
while (-1 != iRight)
{
if (iRight - iLeft <=
n)
{
return true;
}
else
{
iLeft = iRight;
iRight =
s.IndexOf(ch1, iLeft + 1);
}
}//while
}//if
else
{
int iLeft = int.MaxValue;
char chLeft = '\0';
int i = 0;
for (; i < s.Length; ++i)
{
if (s[i] == ch1 || s[i]
== ch2)
{
iLeft = i;
chLeft = s[i];
break;
}
}
++i;
for (; i < s.Length; ++i)
{
if (s[i] == ch1 || s[i]
== ch2)
{
if (chLeft == s[i])
{
iLeft = i;
}
else
{
if (i - iLeft
<= n)
{
return
true;
}
iLeft = i;
chLeft = s[i];
}
}//if
}//for
}//else
return false;
}//end
static void Main(string[] args)
{
Console.WriteLine(F("abcdefg",
'b', 'd', 2));
Console.WriteLine(F("abcdefg",
'b', 'd', 20));
Console.WriteLine(F("abcdefg",
'b', 'e', 1));
Console.WriteLine();
Console.WriteLine(F("abcdefg",
'a', 'b', 0));
Console.WriteLine(F("acbabcd",
'a', 'b', 1));
Console.WriteLine(F("abcdefg",
'x', 'y', 20));
Console.WriteLine(F("abcdefg",
'\0', 'e', 20));

Console.WriteLine(F("abc\0defg", '\0', 'e',
2));
Console.WriteLine();
Console.WriteLine(F("abcdefga",
'g', 'g', int.MaxValue));
Console.WriteLine(F("abcdefga",
'z', 'z', 20));
Console.WriteLine(F("abcdefga",
'a', 'a', 7));

Console.WriteLine(F("abcdefgaa", 'a', 'a',
1));
Console.WriteLine();
Console.WriteLine(F("a", 'a',
'a', 20));
Console.WriteLine(F("a", 'a',
'b', 20));

Console.WriteLine(F("abccccccdefga", 'c',
'e', 2));

Console.WriteLine(F("abccccccdefga", 'c',
'e', 1));
Console.WriteLine(F("abcdefg",
'a', 'g', int.MinValue));
Console.WriteLine();
Console.WriteLine(F("a牛cdefg",
'牛', 'd', 2));
Console.WriteLine(F("a牛马defg",
'牛', '马', 1));
Console.WriteLine(F("a马啊马
defg", '马', '马', 2));
Console.WriteLine(F("a马啊马
defg", '马', '马', 1));
}
}
}
avatar
B*e
3
想买个app,看了一下只有输入信用卡信息的地方,是不是没有别的办法了?有没有类
似itune card的预付卡类可以买来用啊?
avatar
r*5
4
呵呵。。。这个用烤箱做回锅肉还真是有创意。。。看着不错呢~
avatar
s*l
5
Question:
Does the order of ch1 and ch2 matter?
Suggestions:
(1) Make a class to represent test cases containing input, expected output
, and also provide a test method that evaluates a test case by calling the
function to be tested
(2) Organize your test cases, specify what scenario you want to test using
each test case
(3) After running your test program, you should know how many cases failed
and what are these failure cases.
avatar
d*a
6
难道不是加在你的电话账单上吗?
avatar
c*m
7
烤箱做回锅肉很赞,下次试试。
avatar
s*f
8
the order of ch1 and ch2 --no matter.
u are right. I haven't QA experience.


cases containing input, expected output
evaluates a test case by calling the
what scenario you want to test using
you should know how many cases failed

【在 s*********l 的大作中提到】
: Question:
: Does the order of ch1 and ch2 matter?
: Suggestions:
: (1) Make a class to represent test cases containing input, expected output
: , and also provide a test method that evaluates a test case by calling the
: function to be tested
: (2) Organize your test cases, specify what scenario you want to test using
: each test case
: (3) After running your test program, you should know how many cases failed
: and what are these failure cases.

avatar
B*e
9
没有。是提醒说要在zune.net上往账号里加个credit card信息就可以买了。查了一圈
,好像他们家是没有类似itunes card的东西。

【在 d***a 的大作中提到】
: 难道不是加在你的电话账单上吗?
avatar
t*x
10
赞困境中求生存的蓬勃精神

【在 d***a 的大作中提到】
: 新搬的家,炉子嵌进壁炉里,没法安装抽油烟机。而且主卧房的门正对着炉灶。看来,
: 我们的无烟厨房要正式开始了。
: 这两个都是LD最喜欢吃的菜,先从这两个开始试验。
: First,回锅肉。
: 1。五花肉放冷水里煮开就关火,留在锅里盖着盖子焖上半个小时,然后冲冷水放凉切
: 片。本人刀工太差,只好切成长条状了,不影响美味的说。
: 2。切好的五花肉均匀铺在烤盘里,放烤箱高温broil十分钟。
: 3。Broil五花肉的同时,切好香芹。同时拿个小碗,倒上两勺郫县豆瓣酱,一勺酱油拌
: 匀,放微波炉里高火转30秒。记得一定要把碗盖上,不然微波炉里四壁和天花板都沾上
: 香喷喷的酱汁了。

avatar
B*e
11
再抱怨一下,这个windows phone的apps市场真是萧条啊,我想找个类似iphone上
awesome note的app,试了好些个,都不好。花几刀买了一个,发现跟awesome note也
差几条街去了。。

【在 B****e 的大作中提到】
: 没有。是提醒说要在zune.net上往账号里加个credit card信息就可以买了。查了一圈
: ,好像他们家是没有类似itunes card的东西。

avatar
h*r
12
赞创新

【在 d***a 的大作中提到】
: 新搬的家,炉子嵌进壁炉里,没法安装抽油烟机。而且主卧房的门正对着炉灶。看来,
: 我们的无烟厨房要正式开始了。
: 这两个都是LD最喜欢吃的菜,先从这两个开始试验。
: First,回锅肉。
: 1。五花肉放冷水里煮开就关火,留在锅里盖着盖子焖上半个小时,然后冲冷水放凉切
: 片。本人刀工太差,只好切成长条状了,不影响美味的说。
: 2。切好的五花肉均匀铺在烤盘里,放烤箱高温broil十分钟。
: 3。Broil五花肉的同时,切好香芹。同时拿个小碗,倒上两勺郫县豆瓣酱,一勺酱油拌
: 匀,放微波炉里高火转30秒。记得一定要把碗盖上,不然微波炉里四壁和天花板都沾上
: 香喷喷的酱汁了。

avatar
b*7
13
what is awesome note? why don't u try onenote?

【在 B****e 的大作中提到】
: 再抱怨一下,这个windows phone的apps市场真是萧条啊,我想找个类似iphone上
: awesome note的app,试了好些个,都不好。花几刀买了一个,发现跟awesome note也
: 差几条街去了。。

avatar
a*9
14
好有创意, 谢谢分享, 我也要试一试, 我厨房的抽油烟机很不给力, 害得我都不敢炒菜
了.
avatar
B*e
15
awesome note是iphone上的一个app,很好用,以前也用习惯了,所以现在想在windows
phone上找个类似的。onenote没有用过,我去查查,谢谢推荐啊

【在 b********7 的大作中提到】
: what is awesome note? why don't u try onenote?
avatar
G*D
16
没想到可以这么做

【在 d***a 的大作中提到】
: 新搬的家,炉子嵌进壁炉里,没法安装抽油烟机。而且主卧房的门正对着炉灶。看来,
: 我们的无烟厨房要正式开始了。
: 这两个都是LD最喜欢吃的菜,先从这两个开始试验。
: First,回锅肉。
: 1。五花肉放冷水里煮开就关火,留在锅里盖着盖子焖上半个小时,然后冲冷水放凉切
: 片。本人刀工太差,只好切成长条状了,不影响美味的说。
: 2。切好的五花肉均匀铺在烤盘里,放烤箱高温broil十分钟。
: 3。Broil五花肉的同时,切好香芹。同时拿个小碗,倒上两勺郫县豆瓣酱,一勺酱油拌
: 匀,放微波炉里高火转30秒。记得一定要把碗盖上,不然微波炉里四壁和天花板都沾上
: 香喷喷的酱汁了。

avatar
m*i
17

简单实用

【在 d***a 的大作中提到】
: 新搬的家,炉子嵌进壁炉里,没法安装抽油烟机。而且主卧房的门正对着炉灶。看来,
: 我们的无烟厨房要正式开始了。
: 这两个都是LD最喜欢吃的菜,先从这两个开始试验。
: First,回锅肉。
: 1。五花肉放冷水里煮开就关火,留在锅里盖着盖子焖上半个小时,然后冲冷水放凉切
: 片。本人刀工太差,只好切成长条状了,不影响美味的说。
: 2。切好的五花肉均匀铺在烤盘里,放烤箱高温broil十分钟。
: 3。Broil五花肉的同时,切好香芹。同时拿个小碗,倒上两勺郫县豆瓣酱,一勺酱油拌
: 匀,放微波炉里高火转30秒。记得一定要把碗盖上,不然微波炉里四壁和天花板都沾上
: 香喷喷的酱汁了。

avatar
h*s
18
怎么看怎么脚的难吃……
avatar
s*c
19
狂赞啊,都省的刷锅了~
不过可能还是炒的更入味吧~
avatar
d*a
20
眼睛相较于舌头,更容易受欺骗。:)

【在 h****s 的大作中提到】
: 怎么看怎么脚的难吃……
avatar
x*e
21
烤箱也会出油烟的。
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。