This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
int T; | |
cin >> T; | |
while (T--) { | |
int n; | |
cin >> n; | |
int max_xyz = -1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "STC15F2K60S2.H" | |
#include <intrins.h> | |
#define uchar unsigned char | |
#define uint unsigned int | |
#define ADC_POWER 0x80 // adc总开关 | |
#define ADC_FLAG 0x10 | |
#define ADC_START 0x08 | |
#define ADC_SPEED_90 0x60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
char *sign[] = { // 星座 | |
"白羊座", | |
"金牛座", | |
"双子座", | |
"巨蟹座", | |
"狮子座", | |
"处女座", | |
"天秤座", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <queue> | |
#include <vector> | |
using namespace std; | |
struct Node { | |
int number; | |
int distance; | |
}; |