mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 19:31:42 +08:00
add leetcode problem-cn part6
This commit is contained in:
28
算法题(国内版)/problem (English)/第十行(English) [tenth-line].html
Normal file
28
算法题(国内版)/problem (English)/第十行(English) [tenth-line].html
Normal file
@@ -0,0 +1,28 @@
|
||||
<p>Given a text file <code>file.txt</code>, print just the 10th line of the file.</p>
|
||||
|
||||
|
||||
|
||||
<p><strong>Example:</strong></p>
|
||||
|
||||
|
||||
|
||||
<p>Assume that <code>file.txt</code> has the following content:</p>
|
||||
|
||||
|
||||
|
||||
<pre>
|
||||
|
||||
Line 1
|
||||
|
||||
Line 2
|
||||
|
||||
Line 3
|
||||
|
||||
Line 4
|
||||
|
||||
Line 5
|
||||
|
||||
Line 6
|
||||
|
||||
Line 7
|
||||
|
Reference in New Issue
Block a user