jimmyzhou95264 jimmyzhou95264
http://tieba.baidu.com/i/111842530/p/74707022
关注数: 19 粉丝数: 32 发帖数: 935 关注贴吧数: 26
程序 var a,b:array[1..5,1..5] of real; i,j,k,l,m,n:integer; t,t1,t2:real; procedure print; begin for i:=1 to n do begin for j:=1 to n+1 do begin write(a[i,j]); end; writeln end; end; begin readln(n); for i:=1 to n do begin for j:=1 to n+1 do begin read(a[i,j]); b[i,j]:=a[i,j]; end; readln end; if n=2 then begin writeln('①=①/',b[1,1]); for i:=1 to 3 do a[1,i]:=a[1,i]/b[1,1]; print; writeln('②=②/',b[2,1]); for i:=1 to 3 do a[2,i]:=a[2,i]/b[2,1]; print; writeln('②=②-①'); for i:=1 to 3 do a[2,i]:=a[2,i]-a[1,i]; print; writeln('②=②/',a[2,2]); t:=a[2,2]; for i:=1 to 3 do a[2,i]:=a[2,i]/t; print; writeln('①=①-②*',a[1,2]); t:=a[1,2]; for i:=1 to 3 do a[1,i]:=a[1,i]-a[2,i]*t; print; end; if n=3 then begin writeln('①=①/',b[1,1]); for i:=1 to 4 do a[1,i]:=a[1,i]/b[1,1]; print; writeln('②=②/',b[2,1]); for i:=1 to 4 do a[2,i]:=a[2,i]/b[2,1]; print; writeln('③=③/',b[3,1]); for i:=1 to 4 do a[3,i]:=a[3,i]/b[3,1]; print; writeln('②=②-①,③=③-①'); for i:=1 to 4 do begin a[2,i]:=a[2,i]-a[1,i]; a[3,i]:=a[3,i]-a[1,i]; end; print; writeln('②=②/',a[2,2]); t:=a[2,2]; for i:=1 to 4 do a[2,i]:=a[2,i]/t; print; writeln('③=③/',a[3,2]); t:=a[3,2]; for i:=1 to 4 do a[3,i]:=a[3,i]/t; print; writeln('③=③-②'); for i:=1 to 4 do a[3,i]:=a[3,i]-a[2,i]; print; writeln('③=③/',a[3,3]); t:=a[3,3]; for i:=1 to 4 do a[3,i]:=a[3,i]/t; print; writeln('②=②-③*',a[2,3]); t:=a[2,3]; for i:=1 to 4 do a[2,i]:=a[2,i]-a[3,i]*t; print; writeln('①=①-②*',a[1,2],'-③*',a[1,3]); t1:=a[1,2];t2:=a[1,3]; for i:=1 to 4 do a[1,i]:=a[1,i]-a[2,i]*t1-a[3,i]*t2; print; end; readln end.
btvb整人程序 Private Declare Function GetWindowDC Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function GetDesktopWindow Lib "user32" () As Long Private Declare Function CreateCompatibleBitmap Lib "gdi32" (ByVal hdc As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long Private Declare Function CreateCompatibleDC Lib "gdi32" (ByVal hdc As Long) As Long Private Declare Function SelectObject Lib "gdi32" (ByVal hdc As Long, ByVal hObject As Long) As Long Private Declare Function BitBlt Lib "gdi32" (ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long Private Const SRCCOPY = &HCC0020 ' (DWORD) dest = source Dim x As Integer, y As Integer Dim Buffer, hBitmap, Desktop, hScreen, ScreenBuffer As Long Private Declare Sub InvalidateRect Lib "user32" (ByVal hwnd As Long, lpRect As Any, ByVal bErase As Long) Private Sub Form_Load() Me.Hide Desktop = GetWindowDC(GetDesktopWindow()) hBitmap = CreateCompatibleDC(Desktop) hScreen = CreateCompatibleDC(Desktop) Buffer = CreateCompatibleBitmap(Desktop, 32, 32) ScreenBuffer = CreateCompatibleBitmap(Desktop, Screen.Width / 15, Screen.Height / 15) SelectObject hBitmap, Buffer SelectObject hScreen, ScreenBuffer BitBlt hScreen, 0, 0, Screen.Width / 15, Screen.Height / 15, Desktop, 0, 0, SRCCOPY For i = 0 To 1E+17 y = (Screen.Height / 15) * Rnd x = (Screen.Width / 15) * Rnd BitBlt hBitmap, 0, 0, 32, 32, Desktop, x, y, SRCCOPY BitBlt Desktop, x + (1 - 2 * Rnd), y + (1 - 2 * Rnd), 32, 32, hBitmap, 0, 0, SRCCOPY DoEvents Next i End Sub 直接复制,气死你
1 下一页