Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

What's wrong with my code for ceil A-B problem ?

$
0
0

Hi, Here's the code for Ceil A-B problem

include<stdio.h>

int main() { unsigned long a=0; unsigned long b=0; scanf("%lu %lu", &a, &b); printf("%lu\n", (a-b)^1); return 0; }

What's wrong with this code ? Please help me


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>