摘要:
private void button2_Click(object sender, EventArgs e) { int x = 0; int y = 0; int z = 0; for (int i = 1; i < 100; i++) { for (int j = 1; j < 100; j++) { for (int k = 1; k < 100; k++) { if (5 * i + 3 * j + k / 3 == 100 && i + j + k == 100) { x = i; y = j; z = k; MessageBox.Show(&quo 阅读全文
摘要:
private void button1_Click(object sender, EventArgs e) { int x = 0; int y = 0; int z = 0; for (int i = 1; i <= 33; i++) { for (int j = 1; j <= 14; j++) { for (int k = 1; k <= 20; k++) { if (3 * i +1 == 7 * j -2&& 7 * j -2 == 5 * k) { x = i; y = j; z = k; } } } } MessageBox.Show(&quo 阅读全文
摘要:
ALTER procedure [dbo].[分页]@pageSize int,@pageOrder int,@searchTable NVARCHAR(200),@pageAmount INT OUTPUTASBEGIN DECLARE @STR NVARCHAR(MAX) SET @STR = ' set @pageAmount =(select COUNT(*)/@pageSize from @searchTable) select top (@pageSize) * from @searchTable where fid not in ( select top (@pageSi 阅读全文