-
Notifications
You must be signed in to change notification settings - Fork 0
/
quiz-1081_405899001_基礎程式設計-別名與複製內容-20200116-2206.xml
719 lines (709 loc) · 22 KB
/
quiz-1081_405899001_基礎程式設計-別名與複製內容-20200116-2206.xml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
<?xml version="1.0" encoding="UTF-8"?>
<quiz>
<!-- question: 0 -->
<question type="category">
<category>
<text>$course$/1081_405899001_基礎程式設計的預設/別名與複製內容</text>
</category>
</question>
<!-- question: 32986 -->
<question type="coderunner">
<name>
<text>反轉字典的鍵與(不重複)值</text>
</name>
<questiontext format="html">
<text><![CDATA[<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">請撰寫一名為 <strong>invert_dict</strong> 的函式,此函式有一個參數 <em>input_dict</em>,其型別為字典,</div>
<div class="O1">假設 input_dict 中的<strong>值都是不重複的不可變物件</strong>。</div>
<div class="O1"></div>
<div class="O1">在函式內會<strong>建立並傳回一個新的字典</strong> new_dict,</div>
<div class="O1">new_dict 的鍵為 input_dict 的值,</div>
<div class="O1">new_dict 的值為 input_dict 的鍵。</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="O1"></div>
</div>]]></text>
</questiontext>
<generalfeedback format="html">
<text></text>
</generalfeedback>
<defaultgrade>25.0000000</defaultgrade>
<penalty>0.0000000</penalty>
<hidden>0</hidden>
<coderunnertype>python3</coderunnertype>
<prototypetype>0</prototypetype>
<allornothing>0</allornothing>
<penaltyregime>0</penaltyregime>
<precheck>2</precheck>
<showsource>0</showsource>
<answerboxlines>8</answerboxlines>
<answerboxcolumns>100</answerboxcolumns>
<answerpreload></answerpreload>
<useace></useace>
<resultcolumns></resultcolumns>
<template></template>
<iscombinatortemplate></iscombinatortemplate>
<allowmultiplestdins></allowmultiplestdins>
<answer>def invert_dict(input_dict):
new_dict = {}
for k in input_dict.keys():
new_dict[input_dict[k]] = k
return new_dict</answer>
<validateonsave>1</validateonsave>
<testsplitterre></testsplitterre>
<language></language>
<acelang></acelang>
<sandbox></sandbox>
<grader></grader>
<cputimelimitsecs></cputimelimitsecs>
<memlimitmb></memlimitmb>
<sandboxparams></sandboxparams>
<templateparams></templateparams>
<hoisttemplateparams>0</hoisttemplateparams>
<twigall>0</twigall>
<uiplugin></uiplugin>
<testcases>
<testcase testtype="0" useasexample="1" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text>print(invert_dict({1: 'a', 2: 'b', 3: 'c'})=={'a': 1, 'b': 2, 'c': 3})</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>True</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="1" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>print(invert_dict({'a': 1, 'b': 2, 'c': 3})=={1: 'a', 2: 'b', 3: 'c'})</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>True</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>print(invert_dict({False: 0, True: 1})=={0: False, 1: True})</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>True</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>HIDE</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>print(invert_dict({1: 'a', 'b': 2, 3.0: True})=={'a': 1, 2: 'b', True: 3.0})</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>True</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>HIDE</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>print(invert_dict({}))</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>{}</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>HIDE</text>
</display>
</testcase>
</testcases>
</question>
<!-- question: 32987 -->
<question type="coderunner">
<name>
<text>就地反轉字典的鍵與(不重複)值</text>
</name>
<questiontext format="html">
<text><![CDATA[<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">請撰寫一名為 <strong>invert_dict_inplace</strong> 的函式,此函式有一個參數 <em>input_dict</em>,其型別為字典,</div>
</div>
<div class="O1">假設 input_dict 中的<strong>值都是不重複的不可變物件</strong>。</div>
<div class="O1"></div>
<div class="O1">此函式會<strong>將 input_dict 的鍵和值互換</strong>,</div>
<div class="O1">意即 input_dict 的鍵會變成值,input_dict 的值會變成鍵,</div>
<div class="O1">且<strong>此函式不會傳回任何物件</strong>。</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>]]></text>
</questiontext>
<generalfeedback format="html">
<text></text>
</generalfeedback>
<defaultgrade>25.0000000</defaultgrade>
<penalty>0.0000000</penalty>
<hidden>0</hidden>
<coderunnertype>python3</coderunnertype>
<prototypetype>0</prototypetype>
<allornothing>0</allornothing>
<penaltyregime>0</penaltyregime>
<precheck>2</precheck>
<showsource>0</showsource>
<answerboxlines>8</answerboxlines>
<answerboxcolumns>100</answerboxcolumns>
<answerpreload></answerpreload>
<useace></useace>
<resultcolumns></resultcolumns>
<template></template>
<iscombinatortemplate></iscombinatortemplate>
<allowmultiplestdins></allowmultiplestdins>
<answer>def invert_dict_inplace(input_dict):
dict_copy = input_dict.copy()
input_dict.clear()
for k in dict_copy.keys():
input_dict[dict_copy[k]] = k</answer>
<validateonsave>1</validateonsave>
<testsplitterre></testsplitterre>
<language></language>
<acelang></acelang>
<sandbox></sandbox>
<grader></grader>
<cputimelimitsecs></cputimelimitsecs>
<memlimitmb></memlimitmb>
<sandboxparams></sandboxparams>
<templateparams></templateparams>
<hoisttemplateparams>0</hoisttemplateparams>
<twigall>0</twigall>
<uiplugin></uiplugin>
<testcases>
<testcase testtype="0" useasexample="1" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text>d = {1: 'a', 2: 'b', 3: 'c'}
invert_dict_inplace(d)
print(d == {'a': 1, 'b': 2, 'c': 3})</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>True</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="1" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>d = {'a': 1, 'b': 2, 'c': 3}
invert_dict_inplace(d)
print(d == {1: 'a', 2: 'b', 3: 'c'})</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>True</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>d = {False: 0, True: 1}
invert_dict_inplace(d)
print(d == {0: False, 1: True})</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>True</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>HIDE</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>d = {1: 'a', 'b': 2, 3.0: True}
invert_dict_inplace(d)
print(d == {'a': 1, 2: 'b', True: 3.0})</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>True</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>HIDE</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>d = {}
invert_dict_inplace(d)
print(d)</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>{}</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>HIDE</text>
</display>
</testcase>
</testcases>
</question>
<!-- question: 32990 -->
<question type="coderunner">
<name>
<text>就地移除串列中重複元素</text>
</name>
<questiontext format="html">
<text><![CDATA[<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">請撰寫一名為 <strong>removeDuplicates</strong> 的函式,此函式有一個參數 <em>nums</em>,</div>
<div class="O1">其型別為串列,串列內容皆為整數值且經過排序,但其中可能有重複數值。</div>
<div class="O1"></div>
<div class="O1">請將<strong>重複數值元素就地移除並傳回最後串列長度</strong>。結果如範例所示。</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>]]></text>
</questiontext>
<generalfeedback format="html">
<text></text>
</generalfeedback>
<defaultgrade>25.0000000</defaultgrade>
<penalty>0.0000000</penalty>
<hidden>0</hidden>
<coderunnertype>python3</coderunnertype>
<prototypetype>0</prototypetype>
<allornothing>0</allornothing>
<penaltyregime>0</penaltyregime>
<precheck>2</precheck>
<showsource>0</showsource>
<answerboxlines>8</answerboxlines>
<answerboxcolumns>100</answerboxcolumns>
<answerpreload></answerpreload>
<useace></useace>
<resultcolumns></resultcolumns>
<template></template>
<iscombinatortemplate></iscombinatortemplate>
<allowmultiplestdins></allowmultiplestdins>
<answer>#Version 1
def removeDuplicates(nums):
copy = nums.copy()
nums.clear()
for i in copy:
if i not in nums:
nums.append(i)
return len(nums)
# Version 2 faster than version 1
# def removeDuplicates(nums):
# j = 0
# for i in range(len(nums)):
# if j == 0:
# j += 1
# elif nums[i] != nums[j-1]:
# nums[j]=nums[i]
# j += 1
# return j</answer>
<validateonsave>1</validateonsave>
<testsplitterre></testsplitterre>
<language></language>
<acelang></acelang>
<sandbox></sandbox>
<grader></grader>
<cputimelimitsecs></cputimelimitsecs>
<memlimitmb></memlimitmb>
<sandboxparams></sandboxparams>
<templateparams></templateparams>
<hoisttemplateparams>0</hoisttemplateparams>
<twigall>0</twigall>
<uiplugin></uiplugin>
<testcases>
<testcase testtype="0" useasexample="1" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text>nums = [0,0,1,1,1,2,2,3,3,4]
print(nums[:removeDuplicates(nums)])</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>[0, 1, 2, 3, 4]</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="1" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>nums = [0,1,2,3,4]
print(nums[:removeDuplicates(nums)])</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>[0, 1, 2, 3, 4]</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>nums = [0,0,0,0,0]
print(nums[:removeDuplicates(nums)])</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>[0]</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>HIDE</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>nums = []
print(nums[:removeDuplicates(nums)])</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>[]</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>HIDE</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>nums = [0,0,1,1,2,2,3,3,4,4]
print(nums[:removeDuplicates(nums)])</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>[0, 1, 2, 3, 4]</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>HIDE</text>
</display>
</testcase>
</testcases>
</question>
<!-- question: 32991 -->
<question type="coderunner">
<name>
<text>計算兩個串列的相似度</text>
</name>
<questiontext format="html">
<text><![CDATA[<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">
<div class="O1">請撰寫一名為 <strong>list_similarity</strong> 的函式,此函式有兩個參數 <em>L1</em> 和 <em>L2</em>,其型別皆為串列。</div>
<div class="O1"></div>
<div class="O1">函式要能計算兩個串列的相似度並四捨五入取小數點2位傳回。</div>
<div class="O1"></div>
<div class="O1">相似度計算方式:L1與L2相同元素個數/L1與L2元素總數,</div>
<div class="O1">或是透過差異度計算,差異度=L1與L2元素總差異/L1與L2元素總數,相似度=1-差異度。</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>]]></text>
</questiontext>
<generalfeedback format="html">
<text></text>
</generalfeedback>
<defaultgrade>25.0000000</defaultgrade>
<penalty>0.0000000</penalty>
<hidden>0</hidden>
<coderunnertype>python3</coderunnertype>
<prototypetype>0</prototypetype>
<allornothing>0</allornothing>
<penaltyregime>0</penaltyregime>
<precheck>2</precheck>
<showsource>0</showsource>
<answerboxlines>8</answerboxlines>
<answerboxcolumns>100</answerboxcolumns>
<answerpreload></answerpreload>
<useace></useace>
<resultcolumns></resultcolumns>
<template></template>
<iscombinatortemplate></iscombinatortemplate>
<allowmultiplestdins></allowmultiplestdins>
<answer>def frequencies(words):
freq_dict = {}
for word in words:
if word in freq_dict:
freq_dict[word] += 1
else:
freq_dict[word] = 1
return freq_dict
#Version 1
def calculate_similarity(dict1, dict2):
same = 0
total = 0
for word in dict1.keys():
if word in dict2.keys():
same += min(dict1[word], dict2[word])*2
total = sum(dict1.values()) + sum(dict2.values())
similar = same/total
return round(similar, 2)
#Version 2
#def calculate_similarity(dict1, dict2):
# diff = 0
# total = 0
# for word in dict1.keys():
# if word in dict2.keys():
# diff += abs(dict1[word] - dict2[word])
# else:
# diff += dict1[word]
# for word in dict2.keys():
# if word not in dict1.keys():
# diff += dict2[word]
# total = sum(dict1.values()) + sum(dict2.values())
# difference = diff / total
# similar = 1 - difference
# return round(similar, 2)
def list_similarity(L1,L2):
D1 = frequencies(L1)
D2 = frequencies(L2)
return calculate_similarity(D1,D2)</answer>
<validateonsave>1</validateonsave>
<testsplitterre></testsplitterre>
<language></language>
<acelang></acelang>
<sandbox></sandbox>
<grader></grader>
<cputimelimitsecs></cputimelimitsecs>
<memlimitmb></memlimitmb>
<sandboxparams></sandboxparams>
<templateparams></templateparams>
<hoisttemplateparams>0</hoisttemplateparams>
<twigall>0</twigall>
<uiplugin></uiplugin>
<testcases>
<testcase testtype="0" useasexample="1" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text>print(list_similarity(['apple','apple','bread','bread'],['apple','apple','apple','apple','apple','sugar','sugar','sugar','sugar','sugar']))</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>0.29</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="1" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>print(list_similarity([0,1,2,3,4],[5,6,7,8,9]))</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>0.0</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>print(list_similarity([0,0,0,0,0],[0,0,0,0,0]))</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>1.0</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>HIDE</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>print(list_similarity([True,True,True,False,False],[False,False,False,True,True]))</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>0.8</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>HIDE</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text>print(list_similarity(['Shall', 'I', 'compare', 'thee', 'to', 'a', 'summers', 'day', 'Thou', 'art', 'more', 'lovely', 'and', 'more', 'temperate', 'Rough', 'winds', 'do', 'shake', 'the', 'darling', 'buds', 'of', 'May', 'And', 'summers', 'lease', 'hath', 'all', 'too', 'short', 'a', 'date', 'Sometime', 'too', 'hot', 'the', 'eye', 'of', 'heaven', 'shines', 'And', 'often', 'is', 'his', 'gold', 'complexion', 'dimmed', 'And', 'every', 'fair', 'from', 'fair', 'sometime', 'declines', 'By', 'chance', 'or', 'natures', 'changing', 'course', 'untrimmed', 'But', 'thy', 'eternal', 'summer', 'shall', 'not', 'fade', 'Nor', 'lose', 'possession', 'of', 'that', 'fair', 'thou', 'owst', 'Nor', 'shall', 'death', 'brag', 'thou', 'wanderst', 'in', 'his', 'shade', 'When', 'in', 'eternal', 'lines', 'to', 'time', 'thou', 'growst', 'So', 'long', 'as', 'men', 'can', 'breathe', 'or', 'eyes', 'can', 'see', 'So', 'long', 'lives', 'this', 'and', 'this', 'gives', 'life', 'to', 'thee'],['Devouring', 'Time', 'blunt', 'thou', 'the', 'lions', 'paws', 'And', 'make', 'the', 'earth', 'devour', 'her', 'own', 'sweet', 'brood', 'Pluck', 'the', 'keen', 'teeth', 'from', 'the', 'fierce', 'tigers', 'jaws', 'And', 'burn', 'the', 'longlived', 'phoenix', 'in', 'her', 'blood', 'Make', 'glad', 'and', 'sorry', 'seasons', 'as', 'thou', 'fleetst', 'And', 'do', 'whateer', 'thou', 'wilt', 'swiftfooted', 'Time', 'To', 'the', 'wide', 'world', 'and', 'all', 'her', 'fading', 'sweets', 'But', 'I', 'forbid', 'thee', 'one', 'most', 'heinous', 'crime', 'O', 'carve', 'not', 'with', 'thy', 'hours', 'my', 'loves', 'fair', 'brow', 'Nor', 'draw', 'no', 'lines', 'there', 'with', 'thine', 'antique', 'pen', 'Him', 'in', 'thy', 'course', 'untainted', 'do', 'allow', 'For', 'beautys', 'pattern', 'to', 'succeeding', 'men', 'Yet', 'do', 'thy', 'worst', 'old', 'Time', 'despite', 'thy', 'wrong', 'My', 'love', 'shall', 'in', 'my', 'verse', 'ever', 'live', 'young']))</text>
</testcode>
<stdin>
<text></text>
</stdin>
<expected>
<text>0.24</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>HIDE</text>
</display>
</testcase>
</testcases>
</question>
</quiz>