Redian新闻
>
请问dell xps8700 值得升级内存和显卡吗?
avatar
请问dell xps8700 值得升级内存和显卡吗?# Hardware - 计算机硬件
B*1
1
How to find a number of 10 digits (non repeated digits) which is a perfect
square? perfect square examples: 9 (3x3) 16 (4x4) 25(5x) etc. Ten digit
number example 1,234,567,890
我只想到用brute force,用0-9 permute 5位数字,然后求平方,看得出来的数字是不
是perfect square,有更加好的办法吗?
thanks
avatar
x*d
2
3年前的老电脑,CPU是i7-4970, 3.6hz貌似目前速度还行, 现在想升级显卡到gtx
1080ti做科学计算,这个卡合适吗?我内存只有8g, 想一起升级一下,想知道这个电脑
有几个插槽呢,可以升到32G吗? 另外这个电脑值得升吗?以后还可以升级CPU吗?
avatar
x*u
3
binary search?

【在 B*******1 的大作中提到】
: How to find a number of 10 digits (non repeated digits) which is a perfect
: square? perfect square examples: 9 (3x3) 16 (4x4) 25(5x) etc. Ten digit
: number example 1,234,567,890
: 我只想到用brute force,用0-9 permute 5位数字,然后求平方,看得出来的数字是不
: 是perfect square,有更加好的办法吗?
: thanks

avatar
x*4
4
电源460w, 1080ti够呛
4个内存插槽,可以32g内存,不过如果是2x4g可能要拔掉换单根8g的
cpu不值得升级,已经很强了

【在 x**********d 的大作中提到】
: 3年前的老电脑,CPU是i7-4970, 3.6hz貌似目前速度还行, 现在想升级显卡到gtx
: 1080ti做科学计算,这个卡合适吗?我内存只有8g, 想一起升级一下,想知道这个电脑
: 有几个插槽呢,可以升到32G吗? 另外这个电脑值得升吗?以后还可以升级CPU吗?

avatar
P*1
5
oh my god, it is so technical. you need to be a genius to work for google.
avatar
p*m
6
1080ti够呛
我的是32g内存
avatar
c*e
7
是要写程序,还是用纸笔算?用纸笔还真不容易。
avatar
x*d
8
真的是两个4g。。。好坑爹。。另外想问下够呛是什么意思呢?会卡吗?还是跑不出
full potential?

【在 x******4 的大作中提到】
: 电源460w, 1080ti够呛
: 4个内存插槽,可以32g内存,不过如果是2x4g可能要拔掉换单根8g的
: cpu不值得升级,已经很强了

avatar
c*m
9
binary search
MIN=1,MAX=1E6;
MID=(MIN+MAX)/2;
SMID=MID*MID;
IF(SMID>10 digit)
MAX=SMID;
ELSE IF(SMID<10 digit)
MIN=SMID;
ELSE
...
avatar
x*d
10
请问下够呛是什么意思呢?是会卡吗?还是跑不出full potential?

【在 p*******m 的大作中提到】
: 1080ti够呛
: 我的是32g内存

avatar
c*e
11
Faint! All numbers from 31623 to 99999 have square with 10 digits.
But the question require no repeated digit. The number must be a permutation
of the 10 digits!

【在 c*****m 的大作中提到】
: binary search
: MIN=1,MAX=1E6;
: MID=(MIN+MAX)/2;
: SMID=MID*MID;
: IF(SMID>10 digit)
: MAX=SMID;
: ELSE IF(SMID<10 digit)
: MIN=SMID;
: ELSE
: ...

avatar
M*t
12
供电不足的意思

【在 x**********d 的大作中提到】
: 真的是两个4g。。。好坑爹。。另外想问下够呛是什么意思呢?会卡吗?还是跑不出
: full potential?

avatar
a*d
13
他要求10个digits不重复吧。只要 31623 <= X < 10^5, 那么 X^2一定是10 digits.
对每个X需要检测X^2是否所有digit不同。

【在 c*****m 的大作中提到】
: binary search
: MIN=1,MAX=1E6;
: MID=(MIN+MAX)/2;
: SMID=MID*MID;
: IF(SMID>10 digit)
: MAX=SMID;
: ELSE IF(SMID<10 digit)
: MIN=SMID;
: ELSE
: ...

avatar
M*t
14
我买dell台机的时候选的是1300w,不过我不用高级显卡,浪费了。
avatar
c*m
15
Sorry, not a careful person I am.

permutation

【在 c**********e 的大作中提到】
: Faint! All numbers from 31623 to 99999 have square with 10 digits.
: But the question require no repeated digit. The number must be a permutation
: of the 10 digits!

avatar
x*d
16
供电不足会怎样?是会烧坏什么东西吗?那能推荐一款460W支持范围内比较给力的显卡
吗?或者如果我升级PSU的话,要升到多少够呢?

【在 M********t 的大作中提到】
: 供电不足的意思
avatar
c*e
17
code:
#include
using namespace std;
int main() {
for(long n=31623;n<100000;n++) {
long nsquare=n*n;
int i,j, a[10];
for(i=0;i<10;i++) {
a[i]=nsquare % 10;
nsquare = nsquare/10;
}
for(i=0;i<10;i++) {
for(j=i+1;j<10;j++) {
if(a[i]>a[j]) {
int k=a[i]; a[i]=a[j]; a[j]=k;
}
}
}
i=0;
while(a[i]==i) i++;
if(i==10) cout << n << " " << nsquare << endl;
}
return 0;
}
avatar
d*t
18
970 可以。 一直在用。

【在 x**********d 的大作中提到】
: 供电不足会怎样?是会烧坏什么东西吗?那能推荐一款460W支持范围内比较给力的显卡
: 吗?或者如果我升级PSU的话,要升到多少够呢?

avatar
c*e
19
Answer:
32043 1026753849
32286 1042385796
33144 1098524736
35172 1237069584
35337 1248703569
35757 1278563049
35853 1285437609
37176 1382054976
37905 1436789025
38772 1503267984
39147 1532487609
39336 1547320896
40545 1643897025
42744 1827049536
43902 1927385604
44016 1937408256
45567 2076351489
45624 2081549376
... ...
avatar
I*n
20
1080就可以
avatar
c*e
21
This code gives the complete answer. The previous one does not give a
complete answer due to restriction of long int (about 2-billion, 2^31-1).
#include
using namespace std;
int main() {
for(long n=31623;n<100000;n++) {
//long nsquare=n*n;
double nsquare=n*0.1*n;
long nsq=nsquare;
int i,j, a[10];
a[0]=(nsquare-nsq)*10;
for(i=1;i<10;i++) {
a[i]=nsq % 10;
nsq = nsq/10;
}
for(i=0;i<10;i++) {
for(j=i+1;j<10;j++) {
if(a[i]>a[j]) {
int k=a[i]; a[i]=a[j]; a[j]=k;
}
}
}
i=0;
while(a[i]==i) i++;
if(i==10) cout << n << " " << int(n*0.1*n) << (n % 10)*(n % 10) % 10 <<
endl;
}
return 0;
}
avatar
m*g
22
有几个插槽都要问?你打开机箱看一眼不就知道了。

【在 x**********d 的大作中提到】
: 3年前的老电脑,CPU是i7-4970, 3.6hz貌似目前速度还行, 现在想升级显卡到gtx
: 1080ti做科学计算,这个卡合适吗?我内存只有8g, 想一起升级一下,想知道这个电脑
: 有几个插槽呢,可以升到32G吗? 另外这个电脑值得升吗?以后还可以升级CPU吗?

avatar
c*e
23
Complete answer: 87 integers.
32043 1026753849
32286 1042385796
33144 1098524736
35172 1237069584
35337 1248703569
35757 1278563049
35853 1285437609
37176 1382054976
37905 1436789025
38772 1503267984
39147 1532487609
39336 1547320896
40545 1643897025
42744 1827049536
43902 1927385604
44016 1937408256
45567 2076351489
45624 2081549376
46587 2170348569
48852 2386517904
49314 2431870596
49353 2435718609
50706 2571098436
53976 2913408576
54918 3015986724
55446 3074258916
55524 3082914576
55581 3089247561
55626 3094251876
56532 3195867024
57321 3285697041
58413 3412078569
58455 3416987025
58554 3428570916
59403 3528716409
60984 3719048256
61575 3791480625
61866 3827401956
62679 3928657041
62961 3964087521
63051 3975428601
63129 3985270641
65634 4307821956
65637 4308215769
66105 4369871025
66276 4392508176
67677 4580176329
68763 4728350169
68781 4730825961
69513 4832057169
71433 5102673489
72621 5273809641
75759 5739426081
75923 5764301929
76047 5783146209
76182 5803697124
77346 5982403716
78072 6095237184
80361 6457890321
80445 6471398025
81222 6597013284
81945 6714983025
83919 7042398561
84648 7165283904
85353 7285134609
85743 7351862049
85803 7362154809
86073 7408561329
87639 7680594321
88623 7854036129
89079 7935068241
89145 7946831025
89355 7984316025
89523 8014367529
90144 8125940736
90153 8127563409
90198 8135679204
91248 8326197504
91605 8391476025
92214 8503421796
94695 8967143025
95154 9054283716
96702 9351276804
97779 9560732841
98055 9614783025
98802 9761835204
99066 9814072356
avatar
x*d
24
好的。去官网看了下貌似非ti系列和ti系列相比就是电源要求高1.2x, specs提升1.5x
,价格提升1.3x。。

【在 I******n 的大作中提到】
: 1080就可以
avatar
f*t
25
我觉得暴力法就可以了吧,看不出有什么特别好的算法。应该只是考coding熟练度的
avatar
x*d
26
...下个cpu-z就可以看

【在 m**********g 的大作中提到】
: 有几个插槽都要问?你打开机箱看一眼不就知道了。
avatar
N*d
27
RE

【在 m**********g 的大作中提到】
: 有几个插槽都要问?你打开机箱看一眼不就知道了。
avatar
F*Q
28

it should be fine. your 460W power is enough to drive the 1080Ti. The 1080Ti
needs a 8pin+6pin PCIE connectors. If you don't have 8/6 pin connectors,
you may need a few 4-pin molex to 8/6 pin adapters.
In fact, the newer the graphics card, the more power efficient. My GTX 590
requires 2x 8-pin PCIE connectors, but 1080 and 980Ti only need a single 8-
pin cable.
Yes, memory upgrade is very much needed, so is the hard drive if not SSD.
CPU upgrade won't make a big difference, therefore, not recommended.

【在 x**********d 的大作中提到】
: 3年前的老电脑,CPU是i7-4970, 3.6hz貌似目前速度还行, 现在想升级显卡到gtx
: 1080ti做科学计算,这个卡合适吗?我内存只有8g, 想一起升级一下,想知道这个电脑
: 有几个插槽呢,可以升到32G吗? 另外这个电脑值得升吗?以后还可以升级CPU吗?

avatar
F*Q
30

it is not only a waste, but a big source of noise and heat.

【在 M********t 的大作中提到】
: 我买dell台机的时候选的是1300w,不过我不用高级显卡,浪费了。
avatar
x*d
31
谢谢! 不过想问下hard drive对运算性能有什么大的影响么?我理解是ssd和ram之间
数据交换可能会快点,但是ram和cpu,以及cpu和gpu之间影响不大?

1080Ti

【在 F***Q 的大作中提到】
:
: it is not only a waste, but a big source of noise and heat.

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