Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pa:laboratoare:laborator-01 [2022/03/21 23:09]
radu.nichita
pa:laboratoare:laborator-01 [2022/03/21 23:11] (current)
radu.nichita [Exerciții]
Line 475: Line 475:
  }  }
  }  }
- return (res != -1 && v[pos] == x) ? res : -1;+ return (res != -1 && v[res] == x) ? res : -1;
  }  }
  
Line 489: Line 489:
  }  }
  }  }
- return (res != -1 && v[pos] == x) ? res : -1;+ return (res != -1 && v[res] == x) ? res : -1;
  }  }
  
pa/laboratoare/laborator-01.1647896996.txt.gz · Last modified: 2022/03/21 23:09 by radu.nichita
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0