Language: C

#include<stdio.h>
 
int n, a[50];
 

int solve(int i, int m)
{
    if( m == 0 ) return 1;
    if( i >= n ) return 0;
    int res = solve(i + 1, m) || solve(i + 1, m - a[i]);
    return res;
}
 
int main()
{
    int q, M, i;
 
    scanf("%d", &n);
    for( i = 0; i < n; i++ ) scanf("%d", &a[i]);
    scanf("%d", &q);
    for( i = 0; i < q; i++ ){
        scanf("%d", &M);
        if( solve( 0, M ) ) puts("yes");
        else puts("no");
    }
 
    return 0;
}


Compiler output:
main.c:2:1: error: stray '\302' in program
    2 | <U+00A0>
      | ^~~~~~~~
main.c:4:1: error: stray '\302' in program
    4 | <U+00A0>
      | ^~~~~~~~
main.c: In function 'solve':
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0>if( m == 0 ) return 1;
      | ^~~~~~~~
main.c:8:2: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0>if( m == 0 ) return 1;
      |         ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0>if( m == 0 ) return 1;
      |                 ^~~~~~~~
main.c:8:4: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0>if( m == 0 ) return 1;
      |                         ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0>if( i >= n ) return 0;
      | ^~~~~~~~
main.c:9:2: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0>if( i >= n ) return 0;
      |         ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0>if( i >= n ) return 0;
      |                 ^~~~~~~~
main.c:9:4: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0>if( i >= n ) return 0;
      |                         ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0>int res = solve(i + 1, m) || solve(i + 1, m - a[i]);
      | ^~~~~~~~
main.c:10:2: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0>int res = solve(i + 1, m) || solve(i + 1, m - a[i]);
      |         ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0>int res = solve(i + 1, m) || solve(i + 1, m - a[i]);
      |                 ^~~~~~~~
main.c:10:4: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0>int res = solve(i + 1, m) || solve(i + 1, m - a[i]);
      |                         ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0>return res;
      | ^~~~~~~~
main.c:11:2: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0>return res;
      |         ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0>return res;
      |                 ^~~~~~~~
main.c:11:4: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0>return res;
      |                         ^~~~~~~~
main.c: At top level:
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0>
      | ^~~~~~~~
main.c: In function 'main':
main.c:16:1: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0>int q, M, i;
      | ^~~~~~~~
main.c:16:2: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0>int q, M, i;
      |         ^~~~~~~~
main.c:16:3: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0>int q, M, i;
      |                 ^~~~~~~~
main.c:16:4: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0>int q, M, i;
      |                         ^~~~~~~~
main.c:17:1: error: stray '\302' in program
   17 | <U+00A0>
      | ^~~~~~~~
main.c:18:1: error: stray '\302' in program
   18 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &n);
      | ^~~~~~~~
main.c:18:2: error: stray '\302' in program
   18 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &n);
      |         ^~~~~~~~
main.c:18:3: error: stray '\302' in program
   18 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &n);
      |                 ^~~~~~~~
main.c:18:4: error: stray '\302' in program
   18 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &n);
      |                         ^~~~~~~~
main.c:19:1: error: stray '\302' in program
   19 | <U+00A0><U+00A0><U+00A0><U+00A0>for( i = 0; i < n; i++ ) scanf("%d", &a[i]);
      | ^~~~~~~~
main.c:19:2: error: stray '\302' in program
   19 | <U+00A0><U+00A0><U+00A0><U+00A0>for( i = 0; i < n; i++ ) scanf("%d", &a[i]);
      |         ^~~~~~~~
main.c:19:3: error: stray '\302' in program
   19 | <U+00A0><U+00A0><U+00A0><U+00A0>for( i = 0; i < n; i++ ) scanf("%d", &a[i]);
      |                 ^~~~~~~~
main.c:19:4: error: stray '\302' in program
   19 | <U+00A0><U+00A0><U+00A0><U+00A0>for( i = 0; i < n; i++ ) scanf("%d", &a[i]);
      |                         ^~~~~~~~
main.c:20:1: error: stray '\302' in program
   20 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &q);
      | ^~~~~~~~
main.c:20:2: error: stray '\302' in program
   20 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &q);
      |         ^~~~~~~~
main.c:20:3: error: stray '\302' in program
   20 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &q);
      |                 ^~~~~~~~
main.c:20:4: error: stray '\302' in program
   20 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &q);
      |                         ^~~~~~~~
main.c:21:1: error: stray '\302' in program
   21 | <U+00A0><U+00A0><U+00A0><U+00A0>for( i = 0; i < q; i++ ){
      | ^~~~~~~~
main.c:21:2: error: stray '\302' in program
   21 | <U+00A0><U+00A0><U+00A0><U+00A0>for( i = 0; i < q; i++ ){
      |         ^~~~~~~~
main.c:21:3: error: stray '\302' in program
   21 | <U+00A0><U+00A0><U+00A0><U+00A0>for( i = 0; i < q; i++ ){
      |                 ^~~~~~~~
main.c:21:4: error: stray '\302' in program
   21 | <U+00A0><U+00A0><U+00A0><U+00A0>for( i = 0; i < q; i++ ){
      |                         ^~~~~~~~
main.c:22:1: error: stray '\302' in program
   22 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &M);
      | ^~~~~~~~
main.c:22:2: error: stray '\302' in program
   22 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &M);
      |         ^~~~~~~~
main.c:22:3: error: stray '\302' in program
   22 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &M);
      |                 ^~~~~~~~
main.c:22:4: error: stray '\302' in program
   22 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &M);
      |                         ^~~~~~~~
main.c:22:5: error: stray '\302' in program
   22 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &M);
      |                                 ^~~~~~~~
main.c:22:6: error: stray '\302' in program
   22 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &M);
      |                                         ^~~~~~~~
main.c:22:7: error: stray '\302' in program
   22 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &M);
      |                                                 ^~~~~~~~
main.c:22:8: error: stray '\302' in program
   22 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d", &M);
      |                                                         ^~~~~~~~
main.c:23:1: error: stray '\302' in program
   23 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if( solve( 0, M ) ) puts("yes");
      | ^~~~~~~~
main.c:23:2: error: stray '\302' in program
   23 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if( solve( 0, M ) ) puts("yes");
      |         ^~~~~~~~
main.c:23:3: error: stray '\302' in program
   23 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if( solve( 0, M ) ) puts("yes");
      |                 ^~~~~~~~
main.c:23:4: error: stray '\302' in program
   23 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if( solve( 0, M ) ) puts("yes");
      |                         ^~~~~~~~
main.c:23:5: error: stray '\302' in program
   23 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if( solve( 0, M ) ) puts("yes");
      |                                 ^~~~~~~~
main.c:23:6: error: stray '\302' in program
   23 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if( solve( 0, M ) ) puts("yes");
      |                                         ^~~~~~~~
main.c:23:7: error: stray '\302' in program
   23 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if( solve( 0, M ) ) puts("yes");
      |                                                 ^~~~~~~~
main.c:23:8: error: stray '\302' in program
   23 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if( solve( 0, M ) ) puts("yes");
      |                                                         ^~~~~~~~
main.c:24:1: error: stray '\302' in program
   24 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>else puts("no");
      | ^~~~~~~~
main.c:24:2: error: stray '\302' in program
   24 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>else puts("no");
      |         ^~~~~~~~
main.c:24:3: error: stray '\302' in program
   24 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>else puts("no");
      |                 ^~~~~~~~
main.c:24:4: error: stray '\302' in program
   24 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>else puts("no");
      |                         ^~~~~~~~
main.c:24:5: error: stray '\302' in program
   24 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>else puts("no");
      |                                 ^~~~~~~~
main.c:24:6: error: stray '\302' in program
   24 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>else puts("no");
      |                                         ^~~~~~~~
main.c:24:7: error: stray '\302' in program
   24 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>else puts("no");
      |                                                 ^~~~~~~~
main.c:24:8: error: stray '\302' in program
   24 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>else puts("no");
      |                                                         ^~~~~~~~
main.c:25:1: error: stray '\302' in program
   25 | <U+00A0><U+00A0><U+00A0><U+00A0>}
      | ^~~~~~~~
main.c:25:2: error: stray '\302' in program
   25 | <U+00A0><U+00A0><U+00A0><U+00A0>}
      |         ^~~~~~~~
main.c:25:3: error: stray '\302' in program
   25 | <U+00A0><U+00A0><U+00A0><U+00A0>}
      |                 ^~~~~~~~
main.c:25:4: error: stray '\302' in program
   25 | <U+00A0><U+00A0><U+00A0><U+00A0>}
      |                         ^~~~~~~~
main.c:26:1: err