Borderou de evaluare (job #3378970)
| Utilizator | Data | 28 noiembrie 2026 22:37:20 | |
|---|---|---|---|
| Problema | TwoSets | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:14:20: error: 'vector' was not declared in this scope
14 | bool check_if_same(vector<ll> &a, vector<ll> &b) {
| ^~~~~~
main.cpp:3:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
2 | #include<fstream>
+++ |+#include <vector>
3 | using namespace std;
main.cpp:14:29: error: expected primary-expression before '>' token
14 | bool check_if_same(vector<ll> &a, vector<ll> &b) {
| ^
main.cpp:14:32: error: 'a' was not declared in this scope
14 | bool check_if_same(vector<ll> &a, vector<ll> &b) {
| ^
main.cpp:14:35: error: 'vector' was not declared in this scope
14 | bool check_if_same(vector<ll> &a, vector<ll> &b) {
| ^~~~~~
main.cpp:14:35: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:14:44: error: expected primary-expression before '>' token
14 | bool check_if_same(vector<ll> &a, vector<ll> &b) {
| ^
main.cpp:14:47: error: 'b' was not declared in this scope
14 | bool check_if_same(vector<ll> &a, vector<ll> &b) {
| ^
main.cpp:14:48: error: expression list treated as compound expression in initializer [-fpermissive]
14 | bool check_if_same(vector<ll> &a, vector<ll> &b) {
| ^
main.cpp:23:6: error: variable or field 'print_vector' declared void
23 | void print_vector(vector<ll> a) {
| ^~~~~~~~~~~~
main.cpp:23:19: error: 'vector' was not declared in this scope
23 | void print_vector(vector<ll> a) {
| ^~~~~~
main.cpp:23:19: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:23:28: error: expected primary-expression before '>' token
23 | void print_vector(vector<ll> a) {
| ^
main.cpp:23:30: error: 'a' was not declared in this scope
23 | void print_vector(vector<ll> a) {
| ^
main.cpp:28:1: error: 'vector' does not name a type
28 | vector<ll> hashes;
| ^~~~~~
main.cpp:29:1: error: 'vector' does not name a type
29 | vector<ll> m2, m10;
| ^~~~~~
main.cpp: In function 'void solve_case()':
main.cpp:38:5: error: 'hashes' was not declared in this scope
38 | hashes.clear();
| ^~~~~~
main.cpp:40:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
