当前位置:网站首页>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 .
边栏推荐
- Force buckle 9 palindromes
- Selenium waiting mode
- leetcode-两数之和
- Publish your own toolkit notes using NPM
- NLP fourth paradigm: overview of prompt [pre train, prompt, predict] [Liu Pengfei]
- Initialize MySQL database when docker container starts
- 【Flask】官方教程(Tutorial)-part2:蓝图-视图、模板、静态文件
- 正则表达式:示例(1)
- A Cooperative Approach to Particle Swarm Optimization
- Format code_ What does formatting code mean
猜你喜欢
[understanding of opportunity-39]: Guiguzi - Chapter 5 flying clamp - warning 2: there are six types of praise. Be careful to enjoy praise as fish enjoy bait.
【详细】快速实现对象映射的几种方式
Force buckle 1020 Number of enclaves
Tensorflow customize the whole training process
A Cooperative Approach to Particle Swarm Optimization
Basic process and testing idea of interface automation
A Cooperative Approach to Particle Swarm Optimization
Folio. Ink is a free, fast and easy-to-use image sharing tool
Superfluid_ HQ hacked analysis
You are using pip version 21.1.1; however, version 22.0.3 is available. You should consider upgradin
随机推荐
Docker compose configures MySQL and realizes remote connection
Alibaba-Canal使用详解(排坑版)_MySQL与ES数据同步
Alibaba canal usage details (pit draining version)_ MySQL and ES data synchronization
Basic process and testing idea of interface automation
MCU lightweight system core
Selenium waiting mode
【Flask】官方教程(Tutorial)-part2:蓝图-视图、模板、静态文件
国家级非遗传承人高清旺《四大美人》皮影数字藏品惊艳亮相!
Blue Bridge Cup embedded_ STM32_ New project file_ Explain in detail
2022年PMP项目管理考试敏捷知识点(8)
NiO related knowledge (II)
[flask] response, session and message flashing
Internship: unfamiliar annotations involved in the project code and their functions
[机缘参悟-39]:鬼谷子-第五飞箝篇 - 警示之二:赞美的六种类型,谨防享受赞美快感如同鱼儿享受诱饵。
Extracting key information from TrueType font files
Competition question 2022-6-26
[technology development -28]: overview of information and communication network, new technology forms, high-quality development of information and communication industry
Initialize MySQL database when docker container starts
[understanding of opportunity-39]: Guiguzi - Chapter 5 flying clamp - warning 2: there are six types of praise. Be careful to enjoy praise as fish enjoy bait.
2022 PMP project management examination agile knowledge points (8)