제출 #1233586

#제출 시각아이디문제언어결과실행 시간메모리
1233586AccountHieroglyphs (IOI24_hieroglyphs)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; vector<int> ucs(vector<int> a, vector<int> b){ vector<int> r; if (a == b){ return a; } return -1; }

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

hieroglyphs.cpp: In function 'std::vector<int> ucs(std::vector<int>, std::vector<int>)':
hieroglyphs.cpp:9:13: error: could not convert '-1' from 'int' to 'std::vector<int>'
    9 |     return -1;
      |             ^
      |             |
      |             int