Recent post
Pastebin details
  • Unicode support
  • Syntax highlighting
  • Diff
  • Download support
  • Upload support
Posted by Vecco, 26-11-2009 14:53
  1. //rzeczywistosc
  2.         vector<int> p1;
  3.         p1.push_back(0xFF);
  4.         p1.push_back(0xFF);
  5.         p1.push_back(0xFB);
  6.         p1.push_back(0xFF);
  7.        
  8.         //algorytm
  9.         int iterator=0x1, i=1;
  10.         for(int p0=0xFE;p0>=0xF7;p0-=iterator, iterator*=0x2)
  11.         {       
  12.                 printf("Czytam wiersz: %X\n", p0);
  13.                
  14.                 if(p1.back()!=0xFF)
  15.                 {
  16.                         i=0;
  17.                         printf("    Wciśnięty: %X",(p0-0xF0)*0x10+(p1.back()-0xF0));
  18.                         break;
  19.                 }
  20.                 printf("     Stan p1: %X\n",p1.back());
  21.                 p1.pop_back();
  22.         }
  23.         return 0;
Your Name

Remember me

Syntax highlighting
Expire



Source code


Your browser does not support JavaScript. Please, enter this code in that field: XIPAKSDLIQ:
Upload

Copyright © 2000-2006 by Coyote Group 0.9.3-pre3
Page generation: 0.0134 sek. (sql queries: 6)