All pastesPublic feed

Public feed

Pastes people chose to make public. Author names hidden.
  • Mine

    2092496·text·2.9 KB·2011-10-22 09:29 UTC
    #include <iostream>
    #include <stdio.h>
    #include <vector>
    #include <climits>
    
    using namespace std;
    
    struct Balle {
     int vitesse;
     int position;
     int numero;
    };
    
    struct Scenario {
     std::ve
  • Miscellany

    2092494·text·2.2 KB·2011-10-22 09:22 UTC
    #include <iostream>
    #include <string>
    #include <vector>
    
    using namespace std;
    
    bool lastLine = false;
    class Character
    {
    public:
     Character(int pos):position(pos){}
    
     void moveUp()
     {
     p
  • Unnamed

    2092493·text·2.8 KB·2011-10-22 09:19 UTC
    #include <iostream>
    #include <stdio.h>
    #include <vector>
    #include <climits>
    
    using namespace std;
    
    struct Balle {
     int vitesse;
     int position;
     int numero;
    };
    
    struct Scenario {
     std::ve
  • Michal Hornk

    2092475·text·430 B·2011-10-22 08:44 UTC
    void hodnoty()
    {
     printf("\n\t\t\tVytajte v hre kocky.\n\n");
     printf("Zadajte svoje meno: ");
     scanf("%s", &meno);
     int test_cisla=0, bank;
     while (test_cisla == 0)
     {
     prin
  • Unnamed

    2092474·text·1015 B·2011-10-22 08:32 UTC
    2011.10.22 08:26:00
    
    Victim: F4LLCON
    Corp: The Warp Core Stabilizers
    Alliance: The 0rphanage
    Faction: Unknown
    Destroyed: Myrmidon
    System: 6-CZ49
    Security: -0.2
    Damage Taken: 29103
    
    Involved
  • Something

    2092473·text·9.4 KB·2011-10-22 08:29 UTC
    /*File: ship2.cxx
     Written by: Emily Cai (emilyrune@hotmail.com)
     October 20th, 2011
     The purpose of this program is to graw a gravitational field of 3 stars.*/
    
    //----------------------------
  • Miscellany

    2092472·text·3.0 KB·2011-10-22 08:28 UTC
    #include <iostream>
    #include <vector>
    
    using namespace std;
    
    struct Balle {
     int vitesse;
     int position;
     bool collided;
     
    };
    
    struct Scenario {
     std::vector<Balle> balles;
     
     int track
  • Untitled

    2092469·text·992 B·2011-10-22 08:15 UTC
    2011.10.22 08:15:00
    
    Victim: Matt vb
    Corp: Wildly Inappropriate
    Alliance: Unknown
    Faction: Unknown
    Destroyed: Nightmare
    System: 6-CZ49
    Security: -0.2
    Damage Taken: 76067
    
    Involved parties:
  • Miscellany

    2092452·text·675 B·2011-10-22 06:51 UTC
    #include <iostream>
    #include <vector>
    #define _USE_MATH_DEFINES
    #include <math.h>
    #include <string>
    
    using namespace std;
    
    int main ()
    {
     double aireTotale = 0.0;
     vector<double> angles;
  • Someone

    2092432·text·2.1 KB·2011-10-22 06:17 UTC
    #include <iostream>
    #include <vector>
    #include <string>
    
    using namespace std;
    
    struct item {
     int c, f, p, o, nbUses;
     string name;
    };
    
    int bestWeight = INT_MAX;
    vector<int> bestChoice;
    v
  • Miscellany

    2092428·text·7.0 KB·2011-10-22 05:57 UTC
    #include <vector>
    #include <stdlib.h>
    #include <iostream>
    #include <stdio.h>
    using namespace std;
    
    enum CellType {
     RULECELL,
     NUMBERCELL
    };
    
    class Rule;
    
    class Cell {
    public:
     Cell()
  • Mine

    2092424·text·371 B·2011-10-22 05:28 UTC
    struct item {
     int c, f, p, o;
     string name;
    };
    
    void LoadItems(vector<item>& items, int& maxC, int& maxF, int& maxP)
    {
     cin >> maxC;
     cin >> maxF;
     cin >> maxP;
    
     int k;
     cin >> k;
    
     fo
  • Untitled

    2092423·text·785 B·2011-10-22 05:16 UTC
    void MultipleSolution()
    {
     cout << "No Unique Solution";
     exit(0);
    }
    
    bool solutionFound = false;
    void CheckSolutions(vector<NumberCell*>& cells, int index)
    {
     if (index == cells.size())
     {
  • Unnamed

    2092421·c·10.8 KB·2011-10-22 04:51 UTC
    ######################### -*- Mode: Makefile-Gmake -*- ########################
    ## version_vars.mk --- 
    ## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) 
    ##
  • Unnamed

    2092420·text·10.8 KB·2011-10-22 04:50 UTC
    ######################### -*- Mode: Makefile-Gmake -*- ########################
    ## version_vars.mk --- 
    ## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) 
    ##
  • Unnamed

    2092419·c·10.8 KB·2011-10-22 04:50 UTC
    ######################### -*- Mode: Makefile-Gmake -*- ########################
    ## version_vars.mk --- 
    ## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) 
    ##
  • Unnamed

    2092418·c·468 B·2011-10-22 04:45 UTC
    UTS_RELEASE_HEADER=$(call doit, if [ -f include/generated/utsrelease.h ]; then \
     echo include/generated/utsrelease.h; \
     else if [ -f include/linux/utsrelea
  • Something

    2092416·text·195 B·2011-10-22 04:23 UTC
    sudo find / -name version_vars.mk
    /usr/share/kernel-package/ruleset/misc/version_vars.mk
    sudo find / -name utsrelease.h
    /usr/src/linux-headers-3.0.0-12-generic/include/generated/utsrelease.h
  • Something

    2092415·text·673 B·2011-10-22 04:22 UTC
    vector<int> primes(14642);
    
    void seive()
    {
     int i = 5;
    
     vector<int> candidates(160907, 1);
     
     candidates[0] = 0;
     candidates[1] = 0;
     candidates[2] = 1;
     candidates[3] = 1;
    
     int current
  • Something

    2092414·text·284 B·2011-10-22 04:22 UTC
    en1gma@ubuntu:/usr/src/Linu$ sudo find / -name version_vars.mk
    /usr/share/kernel-package/ruleset/misc/version_vars.mk
    en1gma@ubuntu:/usr/src/Linu$ sudo find / -name utsrelease.h
    /usr/src/linux-head

older pastes →