func_code_string: #include <bits/stdc++.h>   int main(int argc, char const *argv[]) {     int n, a, b;     while (scanf( %d%d%d , &n, &a, &b) != EOF)       printf( %d n , (n - a) < (b + 1) ? (n - a) : (b + 1));     return 0;   }   