摘要: 趣味算法入门 1.百钱百鸡问题 #include<iostream> using namespace std; int main() { int x, y, z;//x:公鸡 y:母鸡 z: 小鸡 for ( x = 0; x <= 20; x++) { for (y = 0; y <= 33; y 阅读全文
posted @ 2023-04-10 20:31 许七安gyg 阅读(49) 评论(0) 推荐(0) 编辑
$(document).ready(function() { // 禁止右键 $(document).bind("contextmenu", function(){return false;}); // 禁止选择 $(document).bind("selectstart", function(){return false;}); // 禁止Ctrl+C 和Ctrl+A $(document).keydown(function(event) { if ((event.ctrlKey&&event.which==67) || (event.ctrlKey&&event.which==86)) { //alert("对不起,版权所有,禁止复制"); return false; } }); });