首页 > TAG信息列表 > guy

用指针访问成员

//使用指向结构的指针 #include<stdio.h> #define LEN 20 struct name { char first[LEN]; char last[LEN]; }; struct guy{ struct name handle; char favfood[LEN]; char job[LEN]; float income; }; int main(void) { struct guy fellow[2]={ {

buuctf,luck_guy

核心函数get_flag()    switch里面的代码仔细看一下,case4才生成f2字符串,然后case5对字符串进行了一些变换,由case1进行拼接并输出,在case1里面的f1字符串已经能看见部分flag,GXY{do_not_ 这个for循环会执行5次,只要改变rand函数的返回值ret,让ret与mod200分别等于4,5,1,程序就会自

【JAVA】代码执行顺序题目

代码执行顺序的题目 public class TestClass { static class Father{ public int money = 1; public Father() { this.money = 2; showMoney(); } protected void showMoney(){ System.out

E - GuGuFishtion HDU - 6390 (欧拉函数,反演)

Today XianYu is too busy with his homework, but the boring GuGu is still disturbing him!!!!!! At the break time, an evil idea arises in XianYu's mind. ‘Come on, you xxxxxxx little guy.’ ‘I will give you a function ϕ(x)ϕ(x) which counts the positive

牛牛找工作

题目描述 为了找到自己满意的工作,牛牛收集了每种工作的难度和报酬。牛牛选工作的标准是在难度不超过自身能力值的情况下,牛牛选择报酬最高的工作。在牛牛选定了自己的工作后,牛牛的小伙伴们来找牛牛帮忙选工作,牛牛依然使用自己的标准来帮助小伙伴们。牛牛的小伙伴太多了,于是他只好