PPT 本身就很乱……我尽量整理了。
感觉做 ppt 的人脑子是一团浆糊,很多地方逻辑乱七八糟的,标题层级也不一样,完全没有他做的软件过程标准那么精巧。或许这就是软件开发的常态吧(笑)
这篇文档说是索引,其实是介于索引和知识点总结之间的一个东西。希望它能对你的考试有所帮助吧。记得多用 Ctrl+F 查找。 >
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
g,i,r,l=35,s=-20,f=10;e(s){write(1,&s,1);}main(){for(;s<21;s+=2){for( | |
g=20;g>-21;)i=s*s*s*g*g<<5,r=s*s+g*g-99,e(r*r*r+i<0?l:l-3),--g;e(f);}} |
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
#include <stdio.h> | |
int charrate[128] = {0}; | |
typedef struct _HuffmanNode { | |
int w, p, lc, rc; | |
} hfn; | |
typedef struct _HuffmanCode { | |
int l; | |
unsigned long long v; |
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
// # Basic grammar elements | |
Identifier: [a-zA-Z] [_0-9a-zA-Z]* | _ [_0-9a-zA-Z]+ | |
DecimalInteger: "0" | [1-9] [0-9]+ | |
DecimalFractionalPart: "." [0-9]+ | |
DecimalExponentPart: [Ee] [+-]? [0-9]+ | |
HexadecimalNumber: "0x" [0-9a-fA-F]+ | |
IntegerLiteral: (DecimalInteger | HexadecimalNumber) | |
FloatLiteral: DecimalInteger DecimalFractionalPart DecimalExponentPart? | |
| DecimalInteger DecimalExponentPart |
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
EOL -> '\n' | '\r' | '\r\n' | |
Whitespace -> ' ' | '\t' | |
EscapedSequence -> | |
| '\\' [bfnrt\\] | |
| '\u' [0-9a-fA-F]{4} | |
QuotedStringElement -> | |
| [^\\"] |
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
public static Vector2Int GetConsoleSize(Text text) | |
{ | |
text.font.RequestCharactersInTexture(" ", text.fontSize, text.fontStyle); | |
text.font.GetCharacterInfo(' ', out CharacterInfo info, text.fontSize, text.fontStyle); | |
var scaleFactor = text.canvas.scaleFactor; | |
float fontWidth = info.advance; | |
float fontHeight = text.fontSize * text.lineSpacing; |
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
public static Vector2Int GetConsoleSize(Text text) | |
{ | |
text.font.RequestCharactersInTexture(" ", text.fontSize, text.fontStyle); | |
text.font.GetCharacterInfo(' ', out CharacterInfo info, text.fontSize, text.fontStyle); | |
var scaleFactor = text.canvas.scaleFactor; | |
// Unity requires fonts to be pixel perfect whether the "pixel perfect" | |
// tick is ticked or not in the root canvas | |
float fontWidth = Mathf.Round(info.advance * scaleFactor) / scaleFactor; |
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
Result: | |
type: string // maybe int from enum? | |
value: string // id | |
Trigger: | |
type: string | |
value: string | |
Reaction: | |
id: string |
NewerOlder