yhl20001210
|
codepad
|
|
yhl20001210
|
Saved pastes by yhl20001210:
// Fizz-Buzz: A more "engineer-ized" solution.
#include <iostream>
#include <string>
#include <sstream>
|
view (30 lines, 100 lines of output) |
//DEBUGGING ON codepad
//coin_guess.cpp - imperfect
#include <cstdio>
#include <cstdlib>
|
view (36 lines, 87 lines of output) |
//DEBUGGING ON codepad
//coin_guess.cpp - imperfect
#include <cstdio>
#include <cstdlib>
|
view (36 lines, 884 lines of output, 1 comment) |
//fizz_buzz.cpp
//To print "Fizz" if divided by 3, and "Buzz" if by 5; both if so. - Undbgged
//DEBUGGING ON codepad
#include <iostream>
|
view (18 lines, 100 lines of output, 2 comments) |
//fizz_buzz.cpp
//To print "Fizz" if divided by 3, and "Buzz" if by 5; both if so. - Undbgged
//DEBUGGING ON codepad
#include <iostream>
|
view (16 lines, 100 lines of output, 1 comment) |
//temp_0x00000001.cpp
//To verify the 13th on the mathematics (of science subjects) paper of the Exam of the Union of "Known Schools in Northern Anhui". - Quick programming
//DEBUGGING ON codepad
#include <iostream>
|
view (21 lines, 12 lines of output, 1 comment) |
//bin_tree-DEMO.cpp
//A binary tree and operations on it.
//Foreword: For something to submit to a algorithm competition with some difficulty as this, it seems too complicated.
#include <iostream>
|
view (123 lines, 2 lines of output, 1 comment) |
//bin_tree-DEMO.cpp
//A binary tree and operations on it.
//Foreword: For something to submit to a algorithm competition with some difficulty as this, it seems too complicated.
#include <iostream>
|
view (125 lines, 2 lines of output) |
//17_fibonacci.cpp
//To calculate the n-th number of the Fibonacci sequence. - Using memorized search, without a vector but a GLOBAL array
//DEBUGGING ON codepad
#include <iostream>
|
view (36 lines, 402 lines of output) |
//17_fibonacci.cpp
//To calculate the n-th number of the Fibonacci sequence. - Using memorized search, without a vector but a GLOBAL array
//DEBUGGING ON codepad
#include <iostream>
|
view (36 lines, 402 lines of output) |
//17_fibonacci.cpp
//To calculate the n-th number of the Fibonacci sequence. - Using memorized search, without a vector but a GLOBAL array
#include <iostream>
|
view (31 lines, 38 lines of output) |
//17_fibonacci.cpp
//To calculate the n-th number of the Fibonacci sequence. - Using memorized search, without a vector but a GLOBAL array
#include <iostream>
|
view (31 lines, 38 lines of output) |
//17_fibonacci.cpp
//To calculate the n-th number of the Fibonacci sequence. - Using memorized search, without a vector but a GLOBAL array
#include <iostream>
|
view (26 lines, 1 line of output) |
//20_double_formula.cpp
//To calculate the roots of a "double" formula.
#include <cmath>
#include <cstdio>
|
view (20 lines, 9 lines of output) |
print('Welcome to use codepad.')
print('You could paste or type codes here, making it run for you.')
print('However, codepad does not support inputing information.')
print('You may could make a function to produce a string and read by scan functions.')
print('You could also use ideone on ideone.com to do more complex and complete work.')
|
view (6 lines, 6 lines of output) |
//narciss_num.cpp
//To find the Narcissistic numbers between 100 and 999.
#include <iostream>
using std::cout;
|
view (16 lines, 6 lines of output) |