当前位置:网站首页>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 .
边栏推荐
- Luo Gu P1170 Bugs Bunny and Hunter
- 国家级非遗传承人高清旺《四大美人》皮影数字藏品惊艳亮相!
- 竞赛题 2022-6-26
- Unity VR resource flash surface in scene
- Unreal browser plug-in
- Internship: unfamiliar annotations involved in the project code and their functions
- Leetcode sum of two numbers
- [Yu Yue education] Liaoning Vocational College of Architecture Web server application development reference
- 01. Go language introduction
- Basic operations of databases and tables ----- primary key constraints
猜你喜欢

【Flask】官方教程(Tutorial)-part3:blog蓝图、项目可安装化

Huawei converged VLAN principle and configuration

Redis如何实现多可用区?

一圖看懂!為什麼學校教了你Coding但還是不會的原因...

XSS learning XSS lab problem solution

leetcode刷题_反转字符串中的元音字母

500 lines of code to understand the principle of mecached cache client driver

c#网页打开winform exe

2022 PMP project management examination agile knowledge points (8)

晶振是如何起振的?
随机推荐
PHP error what is an error?
Selenium waiting mode
Luo Gu P1170 Bugs Bunny and Hunter
Comments on flowable source code (XXXV) timer activation process definition processor, process instance migration job processor
国家级非遗传承人高清旺《四大美人》皮影数字藏品惊艳亮相!
Extracting key information from TrueType font files
How to upgrade kubernetes in place
Redis守护进程无法停止解决方案
[detailed] several ways to quickly realize object mapping
ctf. Show PHP feature (89~110)
500 lines of code to understand the principle of mecached cache client driver
leetcode刷题_反转字符串中的元音字母
Redis-列表
ClickOnce does not support request execution level 'requireAdministrator'
C web page open WinForm exe
【网络攻防实训习题】
Huawei converged VLAN principle and configuration
Docker compose configures MySQL and realizes remote connection
It's wrong to install PHP zbarcode extension. I don't know if any God can help me solve it. 7.3 for PHP environment
Basic operations of database and table ----- delete data table