
C/C++
bookxiao
这个作者很懒,什么都没留下…
展开
-
The Best Questions for Would-be C++ Programmers, Part 1
【本文转载自TopCoder,原作者zmij】It seems that an almost obligatory and very important part of the recruitment process is "the test." "The test" can provide information both for the interviewer and the cand转载 2013-09-12 15:19:32 · 685 阅读 · 0 评论 -
The Best Questions for Would-be C++ Programmers, Part 2
【本文转载自TopCoder,原作者zmij】In the second part of this installment we'll tackle some questions regarding more advanced features of the language (the experienced C++ programmers will consider some of转载 2013-09-12 15:20:54 · 830 阅读 · 0 评论 -
UVa210 - Concurrency Simulator
主要涉及双端队列和单端队列的使用。#include <stdio.h>#include <queue>#include <string>#include <cstring>enum StatementType { ASSIGN = 0, PRINT, LOCK, UNLOCK, END};st...原创 2019-05-22 14:45:22 · 258 阅读 · 0 评论 -
UVa 514 - Rails
主要是栈的灵活使用。#include <stdio.h>#include <stack>int target[1000+10] = {0};int main(){ int n; while(scanf("%d", &n) == 1) { if(n == 0) break; f...原创 2019-05-22 17:32:56 · 251 阅读 · 0 评论