Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
k0mZ
May 30th, 2016
122
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
int b=1,d=0,r=1;
FILE *f;
f = fopen("binarne-cifre.txt","r");
while(!feof(f)){
fscanf(f,"%d",&b);
d+=b*r;
r*=2;
}
printf("%d",d);
fclose(f);
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Module v1.3 - rate calculation bug (repro + w...
CSS | 5 min ago | 0.58 KB
dev loader method
CSS | 6 min ago | 0.79 KB
Module v1.3 - rate calculation bug (repro + w...
CSS | 16 min ago | 0.79 KB
✅ Admin Password
CSS | 18 min ago | 0.58 KB
dev loader method
CSS | 27 min ago | 0.58 KB
Module v1.3 - rate calculation bug (repro + w...
CSS | 37 min ago | 0.58 KB
Untitled
40 min ago | 0.52 KB
I got $12,000 from this bug
CSS | 54 min ago | 0.99 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!