Skip to content

Commit 5a35f19

Browse files
authored
Merge pull request wuye9036#48 from andysim3d/master
修改例子
2 parents 9c34df8 + 5723b1b commit 5a35f19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ class StackFloat
600600
public:
601601
void push(float v);
602602
float pop();
603-
float Find(float x)
603+
int Find(float x)
604604
{
605605
for(int i = 0; i < size; ++i)
606606
{
@@ -634,7 +634,7 @@ class Stack
634634
public:
635635
void push(T v);
636636
T pop();
637-
T Find(T x)
637+
int Find(T x)
638638
{
639639
for(int i = 0; i < size; ++i)
640640
{

0 commit comments

Comments
 (0)