Language: C

#include <stdio.h>

int main() {
    int i,a,n,sum=0;
    
//    for(i=1;i<=44720;i++){
//        sum+=i;
//    }
//    printf("%d\n",sum);
//    return 0;
    scanf("%d",&n); 

    for(i=1;i<=n;i++){
        a=sum;
        sum+=i;
        if(n>a && n<=sum){
            printf("%d\n",i);
            return 0;
        }

    }
    
//    sum=n;
//    for(i=1;i<=n;i++){
//
//        if(sum>i)
//            sum-=i;    
//        else{
//            printf("%d\n",i);
//            return 0;
//        }
//    }
    
    
    
}

Compiler output:
main.c: In function 'main':
main.c:4:1: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i,a,n,sum=0;
      | ^~~~~~~~
main.c:4:2: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i,a,n,sum=0;
      |         ^~~~~~~~
main.c:4:3: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i,a,n,sum=0;
      |                 ^~~~~~~~
main.c:4:4: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i,a,n,sum=0;
      |                         ^~~~~~~~
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0><U+00A0><U+00A0><U+00A0>
      | ^~~~~~~~
main.c:5:2: error: stray '\302' in program
    5 | <U+00A0><U+00A0><U+00A0><U+00A0>
      |         ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0><U+00A0><U+00A0><U+00A0>
      |                 ^~~~~~~~
main.c:5:4: error: stray '\302' in program
    5 | <U+00A0><U+00A0><U+00A0><U+00A0>
      |                         ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d",&n);
      | ^~~~~~~~
main.c:11:2: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d",&n);
      |         ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d",&n);
      |                 ^~~~~~~~
main.c:11:4: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d",&n);
      |                         ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>for(i=1;i<=n;i++){
      | ^~~~~~~~
main.c:13:2: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>for(i=1;i<=n;i++){
      |         ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>for(i=1;i<=n;i++){
      |                 ^~~~~~~~
main.c:13:4: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>for(i=1;i<=n;i++){
      |                         ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>a=sum;
      | ^~~~~~~~
main.c:14:2: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>a=sum;
      |         ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>a=sum;
      |                 ^~~~~~~~
main.c:14:4: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>a=sum;
      |                         ^~~~~~~~
main.c:14:5: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>a=sum;
      |                                 ^~~~~~~~
main.c:14:6: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>a=sum;
      |                                         ^~~~~~~~
main.c:14:7: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>a=sum;
      |                                                 ^~~~~~~~
main.c:14:8: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>a=sum;
      |                                                         ^~~~~~~~
main.c:15:1: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum+=i;
      | ^~~~~~~~
main.c:15:2: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum+=i;
      |         ^~~~~~~~
main.c:15:3: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum+=i;
      |                 ^~~~~~~~
main.c:15:4: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum+=i;
      |                         ^~~~~~~~
main.c:15:5: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum+=i;
      |                                 ^~~~~~~~
main.c:15:6: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum+=i;
      |                                         ^~~~~~~~
main.c:15:7: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum+=i;
      |                                                 ^~~~~~~~
main.c:15:8: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum+=i;
      |                                                         ^~~~~~~~
main.c:16:1: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n>a && n<=sum){
      | ^~~~~~~~
main.c:16:2: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n>a && n<=sum){
      |         ^~~~~~~~
main.c:16:3: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n>a && n<=sum){
      |                 ^~~~~~~~
main.c:16:4: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n>a && n<=sum){
      |                         ^~~~~~~~
main.c:16:5: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n>a && n<=sum){
      |                                 ^~~~~~~~
main.c:16:6: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n>a && n<=sum){
      |                                         ^~~~~~~~
main.c:16:7: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n>a && n<=sum){
      |                                                 ^~~~~~~~
main.c:16:8: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if(n>a && n<=sum){
      |                                                         ^~~~~~~~
main.c:17:1: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>printf("%d\n",i);
      | ^~~~~~~~
main.c:17:2: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>printf("%d\n",i);
      |         ^~~~~~~~
main.c:17:3: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>printf("%d\n",i);
      |                 ^~~~~~~~
main.c:17:4: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>printf("%d\n",i);
      |                         ^~~~~~~~
main.c:17:5: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>printf("%d\n",i);
      |                                 ^~~~~~~~
main.c:17:6: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>printf("%d\n",i);
      |                                         ^~~~~~~~
main.c:17:7: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>printf("%d\n",i);
      |                                                 ^~~~~~~~
main.c:17:8: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>printf("%d\n",i);
      |                                                         ^~~~~~~~
main.c:17:9: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>printf("%d\n",i);
      |                                                                 ^~~~~~~~
main.c:17:10: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>printf("%d\n",i);
      |                                                                         ^~~~~~~~
main.c:17:11: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>printf("%d\n",i);
      |                                                                                 ^~~~~~~~
main.c:17:12: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>printf("%d\n",i);
      |                                                                                         ^~~~~~~~
main.c:18:1: error: stray '\302' in program
   18 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      | ^~~~~~~~
main.c:18:2: error: stray '\302' in program
   18 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |         ^~~~~~~~
main.c:18:3: error: stray '\302' in program
   18 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                 ^~~~~~~~
main.c:18:4: error: stray '\302' in program
   18 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                         ^~~~~~~~
main.c:18:5: error: stray '\302' in program
   18 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                                 ^~~~~~~~
main.c:18:6: error: stray '\302' in program
   18 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                                         ^~~~~~~~
main.c:18:7: error: stray '\302' in program
   18 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |