Redian新闻
>
求教:Nexus7如何复制文件?
avatar
求教:Nexus7如何复制文件?# PDA - 掌中宝
d*w
1
我记得linkedin有道题问
给个tree,让你把每个结点的值更新为自己子树的sum,
写个多线程版本,改怎么做么?
是不是还有并行的quicksort, mergesort
avatar
h*k
2
I Am Rich
App Maker: Armin Heinrich
Reason: None given
This app did only one thing: Broadcast to others that you had money to burn.
I Am Rich hoped to bring conspicuous consumption to iPhone users by
charging $999 for a screen that showed a glowing gem. "The red icon on your
iPhone or iPod Touch always reminds you (and others when you show it to them
) that you were able to afford this," read the app description on the iTunes
. Eight users purchased the virtual gem before Apple yanked it in August
2008.
avatar
d*e
3
解决了U盘连接问题后,发现只能将U盘文件复制到Nexus,
但是不知道如何才能将Nexus的文件复制到U盘?
跪求达人,谢谢!
avatar
s*n
4
假设K个线程,先BFS,得到K个子树后分别加,主程序等线程结束再累加。
排序的话就是先k个线程排序,再k-way merge吧。
avatar
M*n
5
都几年前的事了...
后来有人放破解版的出来,不值钱了

burn.
your
them
iTunes

【在 h*****k 的大作中提到】
: I Am Rich
: App Maker: Armin Heinrich
: Reason: None given
: This app did only one thing: Broadcast to others that you had money to burn.
: I Am Rich hoped to bring conspicuous consumption to iPhone users by
: charging $999 for a screen that showed a glowing gem. "The red icon on your
: iPhone or iPod Touch always reminds you (and others when you show it to them
: ) that you were able to afford this," read the app description on the iTunes
: . Eight users purchased the virtual gem before Apple yanked it in August
: 2008.

avatar
d*e
6
UP, 不知道是我的问题太弱还是就是没有这个功能?

【在 d*********e 的大作中提到】
: 解决了U盘连接问题后,发现只能将U盘文件复制到Nexus,
: 但是不知道如何才能将Nexus的文件复制到U盘?
: 跪求达人,谢谢!

avatar
d*w
7
先BFS,得到K个子树后分别加?还是不明白呢,能写过框架看看么

【在 s******n 的大作中提到】
: 假设K个线程,先BFS,得到K个子树后分别加,主程序等线程结束再累加。
: 排序的话就是先k个线程排序,再k-way merge吧。

avatar
i*a
8
蘋果為何拔它?

burn.
your
them
iTunes

【在 h*****k 的大作中提到】
: I Am Rich
: App Maker: Armin Heinrich
: Reason: None given
: This app did only one thing: Broadcast to others that you had money to burn.
: I Am Rich hoped to bring conspicuous consumption to iPhone users by
: charging $999 for a screen that showed a glowing gem. "The red icon on your
: iPhone or iPod Touch always reminds you (and others when you show it to them
: ) that you were able to afford this," read the app description on the iTunes
: . Eight users purchased the virtual gem before Apple yanked it in August
: 2008.

avatar
t*n
9
不会啊。能看到U盘说明电脑和N7直接连接没问题。你拷贝的时候遇到什么错误?

【在 d*********e 的大作中提到】
: 解决了U盘连接问题后,发现只能将U盘文件复制到Nexus,
: 但是不知道如何才能将Nexus的文件复制到U盘?
: 跪求达人,谢谢!

avatar
s*n
10
int sum = 0;
queue.add(root)
while (queue.size < K) {
node = queue.pop()
sum += node.value
queue.add(node.children)
}
create "queue.size" threads to sum each subtree
wait threads to finish....
for (int i=0; iP.S.没看见要求每个node都要标sum,这样的话最后一步复杂点

【在 d********w 的大作中提到】
: 先BFS,得到K个子树后分别加?还是不明白呢,能写过框架看看么
avatar
D*r
11
泄露企业核心战略

【在 i****a 的大作中提到】
: 蘋果為何拔它?
:
: burn.
: your
: them
: iTunes

avatar
E*G
12
装airdroid,两个方向传递文件都很方便。
avatar
r*g
13
merge sort并行性能很好,quicksort 不是那么好并行滴

【在 d********w 的大作中提到】
: 我记得linkedin有道题问
: 给个tree,让你把每个结点的值更新为自己子树的sum,
: 写个多线程版本,改怎么做么?
: 是不是还有并行的quicksort, mergesort

avatar
d*e
14
我的问题不是在拷贝的时候遇到错误信息,而是根本不知道“复制”这个按钮在哪里。
。。
其他安卓手机上,一般是长按你要复制的文件,自然会弹出来复制按钮。但是在Nexus7
中,长按文件后,只会弹出“该文件以被选中”,但是没有复制这个按钮啊!

【在 t*****n 的大作中提到】
: 不会啊。能看到U盘说明电脑和N7直接连接没问题。你拷贝的时候遇到什么错误?
avatar
d*w
15
我记得linkedin有道题问
给个tree,让你把每个结点的值更新为自己子树的sum,
写个多线程版本,改怎么做么?
是不是还有并行的quicksort, mergesort
avatar
d*e
16
airdroid感觉是个无线管理软件,也能用作对U盘的文件相互传输?

【在 E********G 的大作中提到】
: 装airdroid,两个方向传递文件都很方便。
avatar
s*n
17
假设K个线程,先BFS,得到K个子树后分别加,主程序等线程结束再累加。
排序的话就是先k个线程排序,再k-way merge吧。
avatar
t*n
18
esfile试一试。

Nexus7

【在 d*********e 的大作中提到】
: 我的问题不是在拷贝的时候遇到错误信息,而是根本不知道“复制”这个按钮在哪里。
: 。。
: 其他安卓手机上,一般是长按你要复制的文件,自然会弹出来复制按钮。但是在Nexus7
: 中,长按文件后,只会弹出“该文件以被选中”,但是没有复制这个按钮啊!

avatar
d*w
19
先BFS,得到K个子树后分别加?还是不明白呢,能写过框架看看么

【在 s******n 的大作中提到】
: 假设K个线程,先BFS,得到K个子树后分别加,主程序等线程结束再累加。
: 排序的话就是先k个线程排序,再k-way merge吧。

avatar
M*e
20
lz意思是n7直接连u盘吧

【在 t*****n 的大作中提到】
: 不会啊。能看到U盘说明电脑和N7直接连接没问题。你拷贝的时候遇到什么错误?
avatar
s*n
21
int sum = 0;
queue.add(root)
while (queue.size < K) {
node = queue.pop()
sum += node.value
queue.add(node.children)
}
create "queue.size" threads to sum each subtree
wait threads to finish....
for (int i=0; iP.S.没看见要求每个node都要标sum,这样的话最后一步复杂点

【在 d********w 的大作中提到】
: 先BFS,得到K个子树后分别加?还是不明白呢,能写过框架看看么
avatar
r*g
22
merge sort并行性能很好,quicksort 不是那么好并行滴

【在 d********w 的大作中提到】
: 我记得linkedin有道题问
: 给个tree,让你把每个结点的值更新为自己子树的sum,
: 写个多线程版本,改怎么做么?
: 是不是还有并行的quicksort, mergesort

avatar
g*e
23
这个准确的说是thread safe tree。可以建一个lock array,对应各个nodes,计算一
个subtree时,把subtree root和其他node都lock。

【在 d********w 的大作中提到】
: 我记得linkedin有道题问
: 给个tree,让你把每个结点的值更新为自己子树的sum,
: 写个多线程版本,改怎么做么?
: 是不是还有并行的quicksort, mergesort

avatar
e*s
24
大牛能不能详细讲解一下. 能递归下去的时候新建出线程来吗?
比如 root.Value = getSum(root.Left) + getSum(root.Right);
改成 root.Value = new Thread(getSum(root.Left)).Start() + new Thread(getSume
(root.Right)).Start();
avatar
g*e
25
一楼的multi thread不是这么理解的把?我的理解是k个thread要update这个tree,不
受tree控制

getSume

【在 e***s 的大作中提到】
: 大牛能不能详细讲解一下. 能递归下去的时候新建出线程来吗?
: 比如 root.Value = getSum(root.Left) + getSum(root.Right);
: 改成 root.Value = new Thread(getSum(root.Left)).Start() + new Thread(getSume
: (root.Right)).Start();

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。