码迷,mamicode.com
首页 >  
搜索关键字:assume    ( 1858个结果
汇编实验9
练习一:补全程序 t1.asm,完成在屏幕上输出内存单元中的十进制两位数: 第一步:补全代码(如下): ; 在屏幕上输出内存单元中的十进制两位数 assume cs:code, ds:data data segment db 12 db ?,? ; 前一个字节用于保存商,后一个字节用于保存余数 da ...
分类:其他好文   时间:2018-12-08 13:26:13    阅读次数:163
汇编实验九
1. 补全程序 t1.asm,完成在屏幕上输出内存单元中的十进制两位数: t; 在屏幕上输出内存单元中的十进制两位数assume cs:code, ds:datadata segment db 12 db 0,0 ; 前一个字节用于保存商,后一个字节用于保存余数data endscode segme ...
分类:其他好文   时间:2018-12-06 22:50:18    阅读次数:259
A Monte Carlo Simulation to Draw 3 same Color Balls Without Replaced From A Bucket With 3 Red Balls and 3 Green Balls
You have a bucket with 3 red balls and 3 green balls. Assume that once you draw a ball out of the bucket, you don't replace it. What is the probabilit ...
分类:其他好文   时间:2018-12-04 20:02:50    阅读次数:174
LeetCode 387. First Unique Character in a String
Given a string, find the first non repeating character in it and return it’s index. If it doesn’t exist, return 1. Examples: Note: You may assume the ...
分类:其他好文   时间:2018-12-03 23:01:53    阅读次数:165
LeetCode 392. Is Subsequence
Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower case English letters in both s and t. t is po ...
分类:其他好文   时间:2018-12-03 22:57:07    阅读次数:222
1. Two Sum - Easy
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:其他好文   时间:2018-12-03 14:02:11    阅读次数:150
LeetCode 169. Majority Element
Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times. You may assume that the ...
分类:其他好文   时间:2018-12-03 00:55:01    阅读次数:156
实验五
任务1. 编译以下程序,连接 assume cs:code, ds:data, ss:stackdata segment dw 0123h, 0456h, 0789h, 0abch, 0defh, 0fedh, 0cbah, 0987hdata endsstack segment dw 0, 0, ...
分类:其他好文   时间:2018-12-02 21:11:54    阅读次数:221
311. Sparse Matrix Multiplication - Medium
Given two sparse matrices A and B, return the result of AB. You may assume that A's column number is equal to B's row number. Example: Input: A = [ [ ...
分类:其他好文   时间:2018-12-02 10:32:42    阅读次数:172
455. Assign Cookies
Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a g ...
分类:其他好文   时间:2018-12-01 18:22:13    阅读次数:110
1858条   上一页 1 ... 19 20 21 22 23 ... 186 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!