답안 #292576

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
292576 2020-09-07T09:54:08 Z crossing0ver 게임 (IOI13_game) C++17
컴파일 오류
0 ms 0 KB
#include<bits/stdc++.h>
#define ll long long
#include "game.h"
using namespace std;
ll gcd2(ll X, ll Y) {
    long long tmp;
    while (X != Y && Y != 0) {
        tmp = X;
        X = Y;
        Y = tmp % Y;
    }
    return X;
}


 
void update(int P, int Q, long long K) {

}
 
long long calculate(int P, int Q, int U, int V) {
  return 1LL;
}

Compilation message

grader.c: In function 'int main()':
grader.c:25:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   25 |     while(res != 1);
      |     ^~~~~
grader.c:26:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   26 |  res = fscanf(f, "%d", &C);
      |  ^~~
grader.c:27:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   27 |     while(res != 1);
      |     ^~~~~
grader.c:28:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   28 |  res = fscanf(f, "%d", &N);
      |  ^~~
/tmp/ccATdztx.o: In function `main':
grader.c:(.text.startup+0x7d): undefined reference to `init'
collect2: error: ld returned 1 exit status