当前位置:网站首页>A basic lintcode MySQL database problem
A basic lintcode MySQL database problem
2022-07-06 01:47:00 【CSDN Q & A】
https://www.lintcode.com/problem/1927/solution/42138
Or do it according to normal thinking .
But I saw a person's way of solving problems , I don't understand .
His answer is like this =
UPDATE coins SET side = char(ascii(side)^30)Take the answer :
Haven't you learned programming ?^ Express exclusive or . Here you are ascii clock :

You calculate ,p Of ascii Code is 112,112 Exclusive or 30=110, That is to say n,110 Exclusive or 30=112, That is to say p.


The inverse operation of XOR is itself .
边栏推荐
- Basic operations of databases and tables ----- non empty constraints
- Alibaba-Canal使用详解(排坑版)_MySQL与ES数据同步
- Crawler request module
- Basic operations of database and table ----- set the fields of the table to be automatically added
- A picture to understand! Why did the school teach you coding but still not
- Install redis
- 国家级非遗传承人高清旺《四大美人》皮影数字藏品惊艳亮相!
- Initialize MySQL database when docker container starts
- How does the crystal oscillator vibrate?
- 【Flask】官方教程(Tutorial)-part1:项目布局、应用程序设置、定义和访问数据库
猜你喜欢

How does redis implement multiple zones?

Redis list

Leetcode3. Implement strstr()

Alibaba-Canal使用详解(排坑版)_MySQL与ES数据同步

UE4 unreal engine, editor basic application, usage skills (IV)

安装php-zbarcode扩展时报错,不知道有没有哪位大神帮我解决一下呀 php 环境用的7.3

XSS learning XSS lab problem solution

NiO related knowledge (II)

Huawei Hrbrid interface and VLAN division based on IP

Open source | Ctrip ticket BDD UI testing framework flybirds
随机推荐
Internship: unfamiliar annotations involved in the project code and their functions
【Flask】静态文件与模板渲染
[ssrf-01] principle and utilization examples of server-side Request Forgery vulnerability
[机缘参悟-39]:鬼谷子-第五飞箝篇 - 警示之二:赞美的六种类型,谨防享受赞美快感如同鱼儿享受诱饵。
XSS learning XSS lab problem solution
Dynamics 365 开发协作最佳实践思考
Comments on flowable source code (XXXV) timer activation process definition processor, process instance migration job processor
【SSRF-01】服务器端请求伪造漏洞原理及利用实例
Alibaba canal usage details (pit draining version)_ MySQL and ES data synchronization
leetcode刷题_反转字符串中的元音字母
How to upgrade kubernetes in place
leetcode-2. Palindrome judgment
抓包整理外篇——————状态栏[ 四]
Redis-列表
Basic operations of database and table ----- set the fields of the table to be automatically added
Win10 add file extension
leetcode3、實現 strStr()
Leetcode3, implémenter strstr ()
Leetcode sum of two numbers
MCU lightweight system core