mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-04 03:22:06 +00:00
save output name in test case score
This commit is contained in:
parent
ffbab80132
commit
f3448d51d6
@ -18,6 +18,7 @@ class CreateSampleSerializer(serializers.Serializer):
|
||||
|
||||
class CreateTestCaseScoreSerializer(serializers.Serializer):
|
||||
input_name = serializers.CharField(max_length=32)
|
||||
output = serializers.CharField(max_length=32)
|
||||
score = serializers.IntegerField(min_value=0)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user