제출 #536682

#제출 시각아이디문제언어결과실행 시간메모리
536682timreizin말 (IOI15_horses)C++17
0 / 100
25 ms8172 KiB
#include "horses.h"

using namespace std;

int init(int N, int X[], int Y[])
{
    __int128 tr;
    tr= 8;
	return 0;
}

int updateX(int pos, int val)
{
	return 0;
}

int updateY(int pos, int val)
{
	return 0;
}

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

horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:7:14: warning: variable 'tr' set but not used [-Wunused-but-set-variable]
    7 |     __int128 tr;
      |              ^~
horses.cpp:5:14: warning: unused parameter 'N' [-Wunused-parameter]
    5 | int init(int N, int X[], int Y[])
      |          ~~~~^
horses.cpp:5:21: warning: unused parameter 'X' [-Wunused-parameter]
    5 | int init(int N, int X[], int Y[])
      |                 ~~~~^~~
horses.cpp:5:30: warning: unused parameter 'Y' [-Wunused-parameter]
    5 | int init(int N, int X[], int Y[])
      |                          ~~~~^~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:12:17: warning: unused parameter 'pos' [-Wunused-parameter]
   12 | int updateX(int pos, int val)
      |             ~~~~^~~
horses.cpp:12:26: warning: unused parameter 'val' [-Wunused-parameter]
   12 | int updateX(int pos, int val)
      |                      ~~~~^~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:17:17: warning: unused parameter 'pos' [-Wunused-parameter]
   17 | int updateY(int pos, int val)
      |             ~~~~^~~
horses.cpp:17:26: warning: unused parameter 'val' [-Wunused-parameter]
   17 | int updateY(int pos, int val)
      |                      ~~~~^~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...