제출 #292576

#제출 시각아이디문제언어결과실행 시간메모리
292576crossing0ver게임 (IOI13_game)C++17
컴파일 에러
0 ms0 KiB
#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; }

컴파일 시 표준 에러 (stderr) 메시지

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