06 2017 档案
摘要:题目描述Given a non-negative integer represented as a non-empty array of digits, plus one to the integer.You may assume the integer do not...
阅读全文
摘要:题目描述Follow up for “Remove Duplicates”: What if duplicates are allowed at most twice?For example, Given sorted array nums = [1,1,1,2,2,...
阅读全文
摘要:题目描述Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allo...
阅读全文
摘要:题目描述Given an array and a value, remove all instances of that value in place and return the new length.Do not allocate extra space for ...
阅读全文
摘要:#include "stdafx.h"#include#include#include#define maxstudent 40//最大的学生数40typedef struct student{ int num; int classid; int y...
阅读全文
摘要:#include#includeusing namespace std;int main(){ double a[100], sum = 0, expect = 0, variance = 0; int n; scanf("%d",&n); f...
阅读全文
摘要:#includeusing namespace std;int max(int a, int b){ if(a > b) return a; else return b;}int main(){ int t, n, v,k...
阅读全文

浙公网安备 33010602011771号