当前位置:网站首页>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 .
边栏推荐
- Shutter doctor: Xcode installation is incomplete
- Force buckle 1020 Number of enclaves
- [the most complete in the whole network] |mysql explain full interpretation
- Selenium element positioning (2)
- Une image! Pourquoi l'école t'a - t - elle appris à coder, mais pourquoi pas...
- Crawler request module
- Redis list
- 2022 PMP project management examination agile knowledge points (8)
- [detailed] several ways to quickly realize object mapping
- 正则表达式:示例(1)
猜你喜欢
【SSRF-01】服务器端请求伪造漏洞原理及利用实例
Tensorflow customize the whole training process
一圖看懂!為什麼學校教了你Coding但還是不會的原因...
Selenium waiting mode
Docker compose configures MySQL and realizes remote connection
Mongodb problem set
3D vision - 4 Getting started with gesture recognition - using mediapipe includes single frame and real time video
Superfluid_ HQ hacked analysis
【Flask】官方教程(Tutorial)-part1:项目布局、应用程序设置、定义和访问数据库
Huawei converged VLAN principle and configuration
随机推荐
GBase 8c数据库升级报错
Paddle框架:PaddleNLP概述【飛槳自然語言處理開發庫】
NumPy 数组索引 切片
干货!通过软硬件协同设计加速稀疏神经网络
Leetcode3. Implement strstr()
【Flask】静态文件与模板渲染
Computer graduation design PHP enterprise staff training management system
National intangible cultural heritage inheritor HD Wang's shadow digital collection of "Four Beauties" made an amazing debut!
剑指 Offer 38. 字符串的排列
【SSRF-01】服务器端请求伪造漏洞原理及利用实例
Internship: unfamiliar annotations involved in the project code and their functions
[flask] static file and template rendering
Numpy array index slice
leetcode3、实现 strStr()
01. Go language introduction
Redis守护进程无法停止解决方案
UE4 unreal engine, editor basic application, usage skills (IV)
[Jiudu OJ 09] two points to find student information
ClickOnce does not support request execution level 'requireAdministrator'
一圖看懂!為什麼學校教了你Coding但還是不會的原因...