http://wiki.math.bme.hu/history/Informatika2-2013/Hazi07?feed=atom&
Informatika2-2013/Hazi07 - Laptörténet
2024-03-29T15:23:40Z
Az oldal laptörténete a wikiben
MediaWiki 1.18.1
http://wiki.math.bme.hu/index.php?title=Informatika2-2013/Hazi07&diff=8671&oldid=prev
Kkovacs, 2013. április 9., 07:52-n
2013-04-09T07:52:53Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Régebbi változat</td>
<td colspan='2' style="background-color: white; color:black;">A lap 2013. április 9., 07:52-kori változata</td>
</tr><tr><td colspan="2" class="diff-lineno">2. sor:</td>
<td colspan="2" class="diff-lineno">2. sor:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Írjatok python scriptet, ami egy 10x10-es mátrixot szoroz egy megfelelõ vektorral. A mátrixot egy matrix.txt file-ból olvassa be, a vektort pedig a bemenetrõl kapja ('''input()'''-al olvassuk pl).</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Írjatok python scriptet, ami egy 10x10-es mátrixot szoroz egy megfelelõ vektorral. A mátrixot egy matrix.txt file-ból olvassa be, a vektort pedig a bemenetrõl kapja ('''input()'''-al olvassuk pl).</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Az eredmény vektort írja ki a képernyõre <del class="diffchange diffchange-inline">balra </del>igazítva a számokat (feltehetõleg 1000-nél nem lesz nagyobb szám).</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Az eredmény vektort írja ki a képernyõre <ins class="diffchange diffchange-inline">jobbra </ins>igazítva a számokat (feltehetõleg 1000-nél nem lesz nagyobb szám).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Példa matrix.txt:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Példa matrix.txt:</div></td></tr>
</table>
Kkovacs
http://wiki.math.bme.hu/index.php?title=Informatika2-2013/Hazi07&diff=8669&oldid=prev
Kkovacs, 2013. április 9., 07:52-n
2013-04-09T07:52:14Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Régebbi változat</td>
<td colspan='2' style="background-color: white; color:black;">A lap 2013. április 9., 07:52-kori változata</td>
</tr><tr><td colspan="2" class="diff-lineno">29. sor:</td>
<td colspan="2" class="diff-lineno">29. sor:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Ezeknek a kimenete:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Ezeknek a kimenete:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>210</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  </ins>210</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>178</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  </ins>178</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>204</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  </ins>204</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>236</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  </ins>236</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>178</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  </ins>178</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>145</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  </ins>145</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>227</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  </ins>227</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>192</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  </ins>192</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>260</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  </ins>260</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>272</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  </ins>272</div></td></tr>
</table>
Kkovacs
http://wiki.math.bme.hu/index.php?title=Informatika2-2013/Hazi07&diff=8667&oldid=prev
Kkovacs: Új oldal, tartalma: „__NOTOC__ Írjatok python scriptet, ami egy 10x10-es mátrixot szoroz egy megfelelõ vektorral. A mátrixot egy matrix.txt file-ból olvassa be, a vektort pedig a beme…”
2013-04-09T07:51:23Z
<p>Új oldal, tartalma: „__NOTOC__ Írjatok python scriptet, ami egy 10x10-es mátrixot szoroz egy megfelelõ vektorral. A mátrixot egy matrix.txt file-ból olvassa be, a vektort pedig a beme…”</p>
<p><b>Új lap</b></p><div>__NOTOC__<br />
<br />
Írjatok python scriptet, ami egy 10x10-es mátrixot szoroz egy megfelelõ vektorral. A mátrixot egy matrix.txt file-ból olvassa be, a vektort pedig a bemenetrõl kapja ('''input()'''-al olvassuk pl).<br />
Az eredmény vektort írja ki a képernyõre balra igazítva a számokat (feltehetõleg 1000-nél nem lesz nagyobb szám).<br />
<br />
Példa matrix.txt:<br />
5 5 3 6 4 9 0 8 0 7<br />
0 3 4 1 8 7 1 6 8 4<br />
7 4 3 1 7 4 7 9 0 1<br />
9 0 0 2 7 9 3 8 3 8<br />
7 7 5 3 2 3 3 2 9 3<br />
1 2 0 2 2 4 8 0 6 7<br />
4 0 8 8 0 7 6 0 2 7<br />
9 0 0 7 4 9 9 9 8 1<br />
7 9 2 4 7 9 2 7 2 8<br />
4 3 7 9 2 7 6 9 0 9<br />
<br />
Példa vektor:<br />
6<br />
2<br />
9<br />
3 <br />
9<br />
2<br />
5<br />
1<br />
0<br />
9<br />
<br />
Ezeknek a kimenete:<br />
210<br />
178<br />
204<br />
236<br />
178<br />
145<br />
227<br />
192<br />
260<br />
272</div>
Kkovacs