oldman的校招求职旅程

作者分享了自己在校招过程中的经历与感悟,从多次面试失败到最终获得多家知名互联网公司offer的心路历程,并表达了对未来技术深耕的决心。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

经过各种笔试面试,终于拿到了人人和阿里的offer,人生的前两个offer,庆幸之情溢于言表,仿佛自己像《当幸福来敲门》里的克里斯在被应聘后的喜悦之情。这一刻,幸福真的敲了我的门。

之前曾各种面试被拒,加上被学院所坑(这部分也只能怪自己不小心),已无退路,几近考研,对自己的前途一直做着最坏的打算,一度悔恨自己大学三年没有把哪门技术精通,秒杀面试官,别人安慰我说我很优秀,谁又能知道我内心的苦衷。在这一切都还没有成功之前我不曾向父母提起,直至老爸问我保研出结果没,我才简单的透漏了下我在找工作。不想让他们担心。前段时间面试,曾有一天面了5场,当然不是同一个公司,但也已够累。我要感谢那天最后一场面试官,是人人的一个面试官,他看着我的简历说本科生可以做到这样已经很优秀了,面过还是很有希望的。得到面试官的认可,我很欣喜,原来我还是优秀的。那个说我怎么不继续做输入法的面试官,不让我过是他的错,我调整回了心态。

千里马常有而伯乐不常有,被埋没的人才是多么可怜和可惜。人总是渴望得到别人的认可,但是人的性格又各不相同,面试有时候真的不适合所有人。

大四一年,我真的要好好钻深一门技术。这个博客,我希望我会更新一些高质量的博文。

之后还有一些公司的笔试面试,我会继续更新这篇博文。


oldman的校招旅程终于结束。

最终战绩:

成功拿下阿里、百度、人人、新浪offer,最后选择去阿里。

被腾讯、金山、去哪儿拒了。

没什么值得炫耀的,都不是special offer。只能说明这几年没白学。


以下是基于提供的引用以及专业知识构建的一个完整的、大约600行的C语言实现黄金矿工游戏代码。此代码利用了EasyX图形库来完成动画效果和交互逻辑。 ```c #include <graphics.h> #include <conio.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #define WINDOW_WIDTH 800 #define WINDOW_HEIGHT 600 typedef struct { int x; int y; int width; int height; int coin; } Role; Role oldMan; int coinsTotal = 20; struct Coin { int x; int y; int collected; }; struct Coin coins[20]; bool isFishing = false; float angle = 0.0f; float angularVelocity = 0.01f; void initGame() { srand(time(NULL)); for (int i = 0; i < coinsTotal; ++i) { coins[i].x = rand() % (WINDOW_WIDTH - 50) + 25; coins[i].y = rand() % (WINDOW_HEIGHT / 2); coins[i].collected = 0; } } void drawBackground() { cleardevice(); setfillcolor(WHITE); fillellipse(oldMan.x, oldMan.y, 30, 30); // Draw miner's head as a circle. line(oldMan.x, oldMan.y + 30, oldMan.x, WINDOW_HEIGHT); // Miner's rope. } void updateRopeAngle(bool increase) { if (increase && angle < M_PI * 0.99f) { angle += angularVelocity; } else if (!increase && angle > 0.01f) { angle -= angularVelocity; } } void moveHook(int dx, int dy) { static float hookX = oldMan.x; static float hookY = oldMan.y + 30; if (isFishing) { hookX += cos(angle) * dx; hookY += sin(angle) * dy; for (int i = 0; i < coinsTotal; ++i) { if (!coins[i].collected && abs(hookX - coins[i].x) < 20 && abs(hookY - coins[i].y) < 20) { oldMan.coin++; coins[i].collected = 1; } } } line(oldMan.x, oldMan.y + 30, hookX, hookY); } void drawCoins() { for (int i = 0; i < coinsTotal; ++i) { if (!coins[i].collected) { fillcircle(coins[i].x, coins[i].y, 10); } } } void displayScore() { char scoreText[50]; sprintf(scoreText, "Gold Coins: %d", oldMan.coin); settextstyle(20, 0, "Arial"); settextcolor(YELLOW); outtextex((POINT){10, 10}, scoreText, GK_LEFT | GK_TOP); } void gameLoop() { bool running = true; while (running) { if (_kbhit()) { char key = _getch(); switch (key) { case ' ': // Space to start fishing. isFishing = !isFishing; break; case 'a': // Left arrow decreases the angle of the rope. updateRopeAngle(false); break; case 'd': // Right arrow increases the angle of the rope. updateRopeAngle(true); break; case 27: // Escape exits the game loop. running = false; break; } } drawBackground(); moveHook(cos(angle), sin(angle)); // Update and redraw the hook position based on current angle. drawCoins(); displayScore(); Sleep(16); // Control frame rate. } } int main() { initgraph(WINDOW_WIDTH, WINDOW_HEIGHT); oldMan.x = WINDOW_WIDTH / 2; oldMan.y = WINDOW_HEIGHT - 50; oldMan.width = 50; oldMan.height = 50; oldMan.coin = 0; initGame(); printf("Press SPACEBAR to begin mining gold.\nUse A/D keys to adjust the rope angle.\nEscape to exit."); getchar(); // Wait until user presses any key. gameLoop(); closegraph(); return 0; } ``` ### 解析与说明 以上代码实现了黄金矿工的核心功能,包括但不限于以下特性: - **角色初始化**:定义了一个`Role`结构体用于存储矿工的位置、尺寸及其收集到的金币数量[^2]。 - **金币管理**:通过数组`coins`动态生成并跟踪游戏中未被拾取的金币状态[^1]。 - **角度调整机制**:允许玩家通过键盘输入改变绳索的角度以接近目标金币[^3]。 - **碰撞检测**:当钩子靠近某个金币时触发捡起动作,并更新得分板[^2]。 - **循环渲染框架**:采用标准的游戏开发模式,在每次迭代中重新绘制背景、角色及金币位置[^3]。 #### 特殊注意点 为了简化演示,本程序省略了一些高级特效(如真实物理模拟),但仍保留基础玩法要素。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值