Last active
July 10, 2017 15:33
-
-
Save itkq/a4e7c51755744113581ddca65b9b976c to your computer and use it in GitHub Desktop.
東工大編入生が自分の学部成績の真の平均点を知るためのスクリプト
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
count=sum=0;$('div.tableSet01 > div > table > tbody > tr > td:nth-child(5)').each(function(){point_str=$(this).text();if(point_str=="認定"){point = 60; count++;}else if(point_str == "合格"){point=0;}else{point=Number(point_str);count++}sum+=point;});console.log(sum/count); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment