oracle如何?遠端連線

來源:互聯網
上載者:User

PowerDesigner產生資料庫代碼注意裡面的雙引號,應該去掉

點擊開始,查看netManager,點擊面板的監聽程式,預設只有地址1且標記著localhost,建立一個地址,輸入本機IP,重新開啟監聽程式即可

△△△ * △△ = △△△△

某3位元乘以2位元,結果為4位元

要求:在9個△所代表的數字中,1~9的數字恰好每個出現1次。

public class Pruning {      public static void main(String[] args) {                     int n1, n2, n3, n4, n5, n6, n7, n8, n9;         for (int i = 123; i <= 987; i++) {             n1 = i / 100;             n2 = i / 10 % 10;             n3 = i % 10;             if (n1 == 0 || n2 == 0 || n3 == 0 ) {                continue;             }             if( n1 == n2 || n1 == n3                    || n2 == n3){                continue;             }             for (int j = 12; j <= 98; j++) {                n4 = j / 10;                n5 = j % 10;                if (n4 == 0 || n5 == 0 ) {                    continue;                }                if( n4 == n5 || n4 == n1 || n4 == n2                       || n4 == n3 || n5 == n1 || n5 == n2 || n5 == n3){                    continue;                }                for (int k = 1234; k <= 9876; k++) {                    n6 = k / 1000;                    n7 = k / 100 % 10;                    n8 = k / 10 % 10;                    n9 = k % 10;                    if((n3*n5)%10!=n9){                       continue;                    }                    if (n6 == 0 || n7 == 0 || n8 == 0 || n9 == 0 || n6 == n7                           || n6 == n8 || n6 == n9 || n7 == n8 || n7 == n9                           || n8 == n9 || n6 == n1 || n6 == n2 || n6 == n3                           || n6 == n4 || n6 == n5 || n7 == n1 || n7 == n2                           || n7 == n3 || n7 == n4 || n7 == n5 || n8 == n1                           || n8 == n2 || n8 == n3 || n8 == n4 || n8 == n5                           || n9 == n1 || n9 == n2 || n9 == n3 || n9 == n4                           || n9 == n5) {                       continue;                    }                    if (i * j == k) {                       System.out.println(i + " " + j + " " + k);                    }                }             }                }      }  }

更多精彩內容:http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.