This commit is contained in:
parent
9cd77a5152
commit
d8d86da309
@ -75,6 +75,8 @@ func computeGrades(_ httprouter.Params, _ []byte) (interface{}, error) {
|
||||
}
|
||||
} else {
|
||||
switch st.Challenge {
|
||||
case 0:
|
||||
res[std.Login]["TP1"] += 1
|
||||
case 1:
|
||||
res[std.Login]["TP1"] += 3
|
||||
case 2:
|
||||
@ -97,6 +99,8 @@ func computeGrades(_ httprouter.Params, _ []byte) (interface{}, error) {
|
||||
res[std.Login]["TP1"] += 2
|
||||
case 11:
|
||||
res[std.Login]["TP1"] += 1
|
||||
case 12:
|
||||
res[std.Login]["TP1"] += 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user