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

Ceil A-B ,What's wrong with my code ?

$
0
0

//It's the code for Ceil A-B problem in practice set

include<stdio.h>

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


Viewing all articles
Browse latest Browse all 40121

Trending Articles