제출 #211026

#제출 시각아이디문제언어결과실행 시간메모리
211026_Ice_Tea_Arranging Shoes (IOI19_shoes)C++14
컴파일 에러
0 ms0 KiB
#include<bits/stdc++.h> #define LLI long long int #define pii pair<int,int> #define fst first #define sec second #define ULTRA 2134567890 #define de(x) if(x!=0 && MODE==x) #define MODE 1 using namespace std; int count_swaps( int S[]) { if( S[0] > 0) return 0; else return -1; } int main() { int i,j; return 0; } // // ___ ___ __________ __________ // /////\ \/\ ______\/\\\\\\\\\\\ Code by ~Ice Tea~ of // //// \ \ \ \ \_____/\ \\\\_____/ New Empire of CHSH ... // //// \ \ \ \ \ \ \\\\\\\\\\\ // ////__ \ \ \ \ \ \ \\\\_____/ // ///////\ \ \ \ \ \______\ \\\\_______ ________ // ////____/ \ \__\ \___ ___\ \\\\\\\\\\\ _\ ___ \_ // /__/ \/__/\/__/\ \__/\ \\\\_____//\ .\_/\_ \ // \ \ \ \ \\\\\\\\\\\\ \_\/_\ \ // ... with the AC Power of \ \ \ \ \\\\_____/ \ _____ \ // The Great Tsundere Doggy. \ \ \ \ \\\\ \ \ \ \ \ \ // \ \__\ \ \\\\\\\\\\ \__\ \ \__\ // \/__/ \/________/\/__/ \/__/ //

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

shoes.cpp:30:1: warning: multi-line comment [-Wcomment]
 //       ////   \ \  \ \  \      \ \\\\\\\\\\\
 ^
shoes.cpp:34:1: warning: multi-line comment [-Wcomment]
 //   /__/           \/__/\/__/\  \__/\ \\\\_____//\  .\_/\_  \
 ^
shoes.cpp: In function 'int main()':
shoes.cpp:21:9: warning: unused variable 'i' [-Wunused-variable]
     int i,j;
         ^
shoes.cpp:21:11: warning: unused variable 'j' [-Wunused-variable]
     int i,j;
           ^
/tmp/ccflNfhJ.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccivVURZ.o:shoes.cpp:(.text.startup+0x0): first defined here
/tmp/ccflNfhJ.o: In function `main':
grader.cpp:(.text.startup+0x272): undefined reference to `count_swaps(std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status