Submission #17108

# Submission time Handle Problem Language Result Execution time Memory
17108 2015-11-05T17:23:37 Z pscheol 짝수 정렬 (tutorial3) C
Compilation error
0 ms 0 KB
#include "grader.h"
??
sort_even(int N, int *A){
  int i;
??for(i = 0; i < N; i++) {
????if(A[i] % 2 == 0) 
      Report(A[i]);
??}
}

Compilation message

tutorial3.c:2:1: error: stray ‘\302’ in program
 ??
 ^
tutorial3.c:2:1: error: stray ‘\240’ in program
tutorial3.c:2:1: error: stray ‘\302’ in program
tutorial3.c:2:1: error: stray ‘\240’ in program
tutorial3.c:3:1: warning: return type defaults to ‘int’ [-Wreturn-type]
 sort_even(int N, int *A){
 ^
tutorial3.c: In function ‘sort_even’:
tutorial3.c:5:1: error: stray ‘\302’ in program
 ??for(i = 0; i < N; i++) {
 ^
tutorial3.c:5:1: error: stray ‘\240’ in program
tutorial3.c:5:1: error: stray ‘\302’ in program
tutorial3.c:5:1: error: stray ‘\240’ in program
tutorial3.c:6:1: error: stray ‘\302’ in program
 ????if(A[i] % 2 == 0) 
 ^
tutorial3.c:6:1: error: stray ‘\240’ in program
tutorial3.c:6:1: error: stray ‘\302’ in program
tutorial3.c:6:1: error: stray ‘\240’ in program
tutorial3.c:6:1: error: stray ‘\302’ in program
tutorial3.c:6:1: error: stray ‘\240’ in program
tutorial3.c:6:1: error: stray ‘\302’ in program
tutorial3.c:6:1: error: stray ‘\240’ in program
tutorial3.c:8:1: error: stray ‘\302’ in program
 ??}
 ^
tutorial3.c:8:1: error: stray ‘\240’ in program
tutorial3.c:8:1: error: stray ‘\302’ in program
tutorial3.c:8:1: error: stray ‘\240’ in program
tutorial3.c:9:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^