All pastesPublic feed

Public feed

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

    2059994·text·179 B·2011-05-15 09:52 UTC
    #include<iostream>
    #include<fstream>
    using namespace std;
    int main() {
     ifstream fin("tiedosto");
     string teksti;
     getline(fin, teksti);
     cout<<teksti<<endl;
    }
  • Stuff

    2059972·text·186 B·2011-05-15 09:43 UTC
    Pro realne hodnoty x, kde x ≠ -2, je dan vyraz:
    
     3x-2
    2- ------
     x+2
    
    a) Vypoctete hodnotu vyrazu pro x = 1/3
    b) Pro kterou hodnotu promenne x je vyraz roven nule?
  • Someone

    2059903·c·204 B·2011-05-15 08:50 UTC
    #include <stdio.h>
    union {
     struct
     {
     float s, t;
     };
     struct
     {
     float x, y;
     };
    } test;
    int main()
    {
     test.x = 5;
     test.y = 10;
     printf("s: %f t: %f\n", test.s, test.t);
     return 0
  • Igor671

    2059893·actionscript·862 B·2011-05-15 08:40 UTC
    Нужные вещи на все случаи жизни на торговом сайте AKLARID http://aklarid.clan.su/ 
    Каталоги на 1000000 наименований товаров со всего мира. 
    В продаже лицензионные фильмы, новинки музыки, программное
  • skillEvadeChance

    2059884·diff·381 B·2011-05-15 08:38 UTC
    public static boolean calcPhysicalSkillEvasion(L2Character target, L2Skill skill)
    {
     -if (skill.isMagic() && skill.getSkillType() != L2SkillType.BLOW)
     +if (skill.isMagic() && skill.getSkil
  • Mine

    2059806·c·461 B·2011-05-15 07:31 UTC
    void htable_add_id(htable_t* hash,value_t* new)
    {
     
     size_t hash_address;
     
     
     if( (float) ( (float) hash->items / (float) hash->buckets) > MAX_LOAD_FACTOR){
     htable_rehash_id(hash)
  • Something

    2059805·text·461 B·2011-05-15 07:31 UTC
    void htable_add_id(htable_t* hash,value_t* new)
    {
     
     size_t hash_address;
     
     
     if( (float) ( (float) hash->items / (float) hash->buckets) > MAX_LOAD_FACTOR){
     htable_rehash_id(hash)
  • Stuff

    2059804·c·633 B·2011-05-15 07:29 UTC
    void htable_add_id(htable_t* hash,value_t* new)
    {
     int hash_id = 0;
     if ( new == NULL )
     printf("ERROR, new == NULL\n");
     
     /* Rehash when load factor is 50%*/ 
     float load = (float)
  • Stuff

    2059748·text·428 B·2011-05-15 07:07 UTC
    Application: Firefox 4.0.1 (20110413222027)
    Operating System: WINNT (x86-msvc)
    
    - Default 4.0.1
     (Disabled)
    - FXChrome 2.2.6
     https://addons.mozilla.org/en-US/firefox/addon/fxchrome/?src=api
    -
  • Someone

    2059747·text·11.0 KB·2011-05-15 07:06 UTC
    Application: Firefox 4.0.1 (20110413222027)
    Operating System: WINNT (x86-msvc)
    
    - Aaapptabs 1.0
     https://addons.mozilla.org/en-US/firefox/addon/aaapptabs/?src=api
     Hide the navigation bar for eve
  • Miscellany

    2059741·c·1004 B·2011-05-15 06:51 UTC
    void htable_rehash_term(htable_t* hash)
    {
     int size,i;
     value_t* new;
     size = hash->buckets*2;
     
     htable_t* newTable = new_htable(size);
     
     for(i=0;i<hash->buckets; i++){
     if(hash
  • Anonymous

    2059713·text·905 B·2011-05-15 06:20 UTC
    New Type vs Axis
    Cult's proposed lineups:
    
    Ctf_B2b:
    TOP: Zero + Kag/Buddhaa
    LOW: Cult
    
    Ctf_X:
    Rush: Cult
    Defense: Kag
    Middle kill whore: Buddhaa/riz
    
    ctf_IceBeam:
    Top: Riz/Sumich/buddhaa
  • Anonymous

    2059712·text·885 B·2011-05-15 06:18 UTC
    New Type vs Axis
    Cult's proposed lineups:
    
    Ctf_B2b:
    TOP: Zero + Kag/Buddhaa
    LOW: Cult
    
    Ctf_X:
    Rush: Cult
    Defense: Kag/riz
    Middle kill whore: Buddhaa/jjbn
    
    ctf_IceBeam:
    Top: Riz/Sumich/bud
  • Anonymous

    2059691·text·887 B·2011-05-15 06:11 UTC
    New Type vs Axis
    Cult's proposed lineups:
    
    Ctf_B2b:
    TOP: Zero + Kag/Buddhaa
    LOW: Cult
    
    Ctf_X:
    Rush: Cult
    Defense: Kag/riz
    Middle kill whore: Buddhaa/jjbn
    
    ctf_IceBeam:
    Top: Riz + Sumich/b
  • Anonymous

    2059684·text·887 B·2011-05-15 06:04 UTC
    New Type vs Axis
    Cult's proposed lineups:
    
    Ctf_B2b:
    TOP: Zero + Kag/Buddhaa
    LOW: Cult
    
    Ctf_X:
    Rush: Cult
    Defense: Kag/riz
    Middle kill whore: Kag/riz/jjbn
    
    ctf_IceBeam:
    Top: Riz + Sumich/b
  • Unnamed

    2059673·text·84 B·2011-05-15 06:00 UTC
    http://leaguecraft.com/strategies/gameguide/970-the-allmighty-guide-to-timings.xhtml
  • Untitled

    2059657·c·363 B·2011-05-15 05:33 UTC
    void insertion_sort (value_t** A, int n, 
     int (*cmp_fptr)(const void*,const void*))
    {
     printf ("--- Insertion sort! ---\n");
     int i, k; 
     value_t* tmp;
     i = 0;
     for (
  • Someone

    2059650·text·2.4 KB·2011-05-15 05:22 UTC
    james@ubuntu:~$ ./scripts/compiz-addons install cubemodel
    Cloning into cubemodel...
    remote: Counting objects: 300, done.
    remote: Compressing objects: 100% (298/298), done.
    remote: Total 300 (delta
  • Mine

    2059644·c·600 B·2011-05-15 05:21 UTC
    value_t** remap_freq_htable(htable_t* htable)
    {
     printf ("--- Remap freq table! ---\n");
     
     /* First sort table */
     insertion_sort( htable->array, htable->buckets, &cntcmphash );
     
     htabl
  • Stuff

    2059642·c·180 B·2011-05-15 05:17 UTC
    value_t** narray = (value_t**) safe_malloc( sizeof(value_t**) * htable->items );
     i = 0;
     while ( htable->array[i] != NULL ) {
     narray[i] = htable->array[i];
     i++;
     }

older pastes →