projects
/
tools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
round:output without comma for integer targets
[tools.git]
/
tools
/
intdiff.c
1
#include <stdio.h>
2
3
int main(void) {
4
int n, n_;
5
scanf("%d", &n);
6
while (1) {
7
n_ = n;
8
if (scanf("%d", &n) != 1) {
9
perror("read failed");
10
return 1;
11
}
12
printf("%d\n", n-n_);
13
}
14
}