結果

問題 No.1699 Unfair RPS
ユーザー %20%20
提出日時 2021-10-09 01:16:50
言語 Assembler
(nasm 2.16.01)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 223 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-30 16:34:33
合計ジャッジ時間 893 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 0 ms
4,376 KB
testcase_01 AC 0 ms
4,380 KB
testcase_02 AC 1 ms
4,376 KB
testcase_03 AC 0 ms
4,376 KB
testcase_04 AC 0 ms
4,380 KB
testcase_05 AC 0 ms
4,376 KB
testcase_06 AC 0 ms
4,376 KB
testcase_07 AC 0 ms
4,376 KB
testcase_08 AC 0 ms
4,380 KB
testcase_09 AC 0 ms
4,380 KB
testcase_10 AC 0 ms
4,376 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
ld: warning: cannot find entry symbol _start; defaulting to 00000000004000b0

ソースコード

diff #

	mov ax,3
	mov ecx,S
	mov dx,3
	int 80h
	mov cx,[S]
	cmp byte cl,[S+2]
	je y
	mov ecx,N
	dec dx
	jmp w
y:
	mov ecx,Y
w:
	inc ax
	inc bx
	int 80h
	mov ax,1
	mov bx,0
	int 80h
section .data
	S db "???"
	Y db "Yes"
	N db "No"
0