QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#130649#6182. 6G 网络问题NOI_AK_ME0 1ms2004kbC141b2023-07-24 18:50:472023-07-24 18:50:50

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-07-24 18:50:50]
  • 评测
  • 测评结果:0
  • 用时:1ms
  • 内存:2004kb
  • [2023-07-24 18:50:47]
  • 提交

answer

main() {
	long long n;
	while (~scanf("%lld", &n)) {
		int x = __builtin_sqrt(n);
		if (x * x != n) ++x;
		printf("%lld", n * x);
	}
}

详细

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 1880kb

input:

91
6643
757
2451
21

output:

91054472621196122550105

result:

wrong output format Expected integer, but "91054472621196122550105" found

Test #2:

score: 0
Wrong Answer
time: 0ms
memory: 1928kb

input:

273
73
6643
651
1057
757

output:

4641657544726169263488121196

result:

wrong output format Expected integer, but "4641657544726169263488121196" found

Test #3:

score: 0
Wrong Answer
time: 0ms
memory: 1984kb

input:

294517083
91
1057
24142483
651
519908403
47052741
83811
65793
777824211
282492057
1772893
260160771
16513
280371
244156251
895774971
104070603
12120843
38956323
4829007
73
2451
4196353
3420651
1875531
594847711
16781313
607597851
9768751
13849563
20155611
62750163
1049601

output:

505450217844691034881118636161462169261185495140520632278180326024305190169088012169351724479047481264940562361493476419639323623021301771485966303815185578126268105448820301061728291806422047753262431653681661061415738665712255085983272976328204350256947747014508335671290687530393611497728702715030...

result:

wrong output format Expected integer, but "505450217844691034881118636161...4986933904971067912861075841025" found

Test #4:

score: 0
Wrong Answer
time: 0ms
memory: 1880kb

input:

131091051
282492057
262657
59293
1049601
65793
24142483
5767203
895774971
519908403
73
117993
1875531
38956323
16781313
268451841
4161
352294131
2451
130683
16513
47052741
391251
62750163
260160771
15751
141170043
280371
13849563
244156251
21
1772893
148048057
83811
67117057
163060131
3420651
885386...

output:

150099253395047481264940561347430411446749210758410251690880111863616146213852821606268105448820301185495140520665740589592256947747024316536816668753039361439858341478527046566125608388701225504730724621301773227818032602449231264971067912864196393236230198462616773824509261485966305154807348638151...

result:

wrong output format Expected integer, but "150099253395047481264940561347...4472688935264634881282515643046" found

Test #5:

score: 0
Wrong Answer
time: 0ms
memory: 1884kb

input:

705938331
815759283
131091051
12120843
88538691
373320363
887533473
15751
14763
130683
163060131
65793
1057
47052741
28403571
9768751
777824211
62750163
387440173
20155611
38956323
594847711
294517083
651
3420651
2451
25416723
273
4196353
214373523
73
1049601
91
24142483
83811
282492057
924483
17728...

output:

187567814546702329971664104615009925339504220477532683314908231072132960538862644139722761619846261801086473072462082277872870169088013488132278180326015139103343030537115626216935172447904971067912867626372365332904986933902431653681661450833567129050545021784461692663282043501225501281511173664641...

result:

wrong output format Expected integer, but "187567814546702329971664104615...1054488203013852821606148596630" found

Test #6:

score: 0
Wrong Answer
time: 0ms
memory: 1868kb

input:

1057
6643
4881891
262657
607597851
47465211
294517083
3420651
4785157
67117057
88538691
141170043
244156251
112561491
4196353
1875531
65793
777824211
20155611
5767203
4829007
16781313
2827443
24142483
73
214373523
12120843
148048057
28403571
163060131
924483
757

output:

348815447261078897911013474304114977287027150327035303790505450217844663282043501046992351654989004800183314908231016773824509263815185578126119427741951085983272972569477470169088012169351724479090498693390138528216061061415738668753039361475575912611863616146265731388571237664220477532618014487575...

result:

wrong output format Expected integer, but "348815447261078897911013474304...3430208227787287088935264621196" found

Test #7:

score: 0
Wrong Answer
time: 1ms
memory: 1888kb

input:

25416723
83811
887533473
28403571
492906603
12120843
1057
65793
13849563
924483
88538691
20155611
214373523
4829007
273
131091051
5767203
387440173
16513
705938331
62750163
4881891
815759283
47052741
268451841
67117057
38956323
244156251
777824211
7893291
47465211
59293
352294131
294517083
757
16781...

output:

128151117366243051902644139722761615139103343010943512399806422047753263488116908801515480734868893526468331490823109049869339031388571237661061415738646411500992533950138528216067626372365332213017718756781454670497106791286107889791102329971664104632278180326043985834147855498900480012431653681663...

result:

wrong output format Expected integer, but "128151117366243051902644139722...1054488203023614934768598327297" found

Test #8:

score: 0
Wrong Answer
time: 0ms
memory: 1984kb

input:

7893291
20155611
2451
62750163
38956323
924483
895774971
59293
73
47052741
887533473
260160771
757
65793
532171
9768751
104070603
352294131
607597851
6643
130683
268451841
91
214373523
1057
708123
1875531
4881891
43053283
28403571
262657
2827443

output:

221801477109049869339012255049710679128624316536816688935264626810544882030144674926573227818032602644139722761641963932362302119616908801388484830305371156261061728291806661256083887014977287027150544726473072464398583414785910313885712376634881596239566256947747010788979110282515643046151391033430...

result:

wrong output format Expected integer, but "221801477109049869339012255049...1513910334301347430414755759126" found

Test #9:

score: 0
Wrong Answer
time: 0ms
memory: 2004kb

input:

519908403
112561491
1875531
88538691
148048057
244156251
373320363
131091051
67117057
21
4881891
4161
16781313
25416723
38956323
2451
62750163
352294131
4785157
43053283
1049601
280371
651
387440173
9768751
607597851
47465211
91
16513
924483
895774971
12120843
28403571
391251
24142483
260160771
1630...

output:

118549514052061194277419510256947747083314908231018014487575763815185578126721329605388615009925339505498900480011051078897911027046568753039361128151117366243165368166122550497106791286661256083887010469923516282515643046107584102514859663016926762637236533230537115626149772870271503270353037909102...

result:

wrong output format Expected integer, but "118549514052061194277419510256...4196393236230208227787287034881" found

Test #10:

score: 0
Wrong Answer
time: 0ms
memory: 1880kb

input:

1057
20155611
25416723
28403571
24142483
4196353
15751
12120843
130683
16781313
104070603
21
519908403
1875531
708123
3420651
163060131
141170043
594847711
4785157
65793
7893291
131091051
4881891
651
38956323
260160771
282492057
280371
373320363
6643
16513
43053283
815759283
91
148048057
14763
24415...

output:

348819049869339012815111736615139103343011863616146285983272971984626422047753264730724668753039361106172829180610511854951405206256947747059623956663282043502082277872870167738245092614508335671290104699235161690880122180147710150099253395010788979110169262431653681664196393236230474812649405614859...

result:

wrong output format Expected integer, but "348819049869339012815111736615...2638848483014467492322781803260" found