QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#553110 | #9241. Sphinx | thomaswmy# | Compile Error | / | / | C++14 | 147b | 2024-09-08 09:09:23 | 2024-09-08 09:09:24 |
Judging History
This is the latest submission verdict.
- [2024-09-08 09:09:24]
- Judged
- Verdict: Compile Error
- Time: 0ms
- Memory: 0kb
- [2024-09-08 09:09:23]
- Submitted
answer
#include <bits/stdc++.h>
#include "sphinx.h"
using namespace std;
vector<int> find_colours(int N,vector<int> X,vector<int> Y) {=
return X;
}
Details
implementer.cpp: In function ‘int {anonymous}::sz(const C&)’: implementer.cpp:26:52: error: ‘size’ is not a member of ‘std’; did you mean ‘size_t’? 26 | template<class C> int sz(const C& c) { return std::size(c); } | ^~~~ | size_t answer.code: In function ‘std::vector<int> find_colours(int, std::vector<int>, std::vector<int>)’: answer.code:4:62: error: expected primary-expression before ‘=’ token 4 | vector<int> find_colours(int N,vector<int> X,vector<int> Y) {= | ^ answer.code:5:1: error: expected primary-expression before ‘return’ 5 | return X; | ^~~~~~ answer.code:6:1: warning: no return statement in function returning non-void [-Wreturn-type] 6 | } | ^