Borderou de evaluare (job #3032201)

Utilizator bent_larsenSturzu Antonio-Gabriel bent_larsen Data 21 martie 2023 18:16:17
Problema Culori4 Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:2: error: stray '#' in program 1 | .#include <bits/stdc++.h> | ^ main.cpp:1:1: error: expected unqualified-id before '.' token 1 | .#include <bits/stdc++.h> | ^ main.cpp:5:8: error: 'pair' was not declared in this scope 5 | vector<pair<int,int>> v; | ^~~~ main.cpp:5:8: error: 'pair' was not declared in this scope main.cpp:5:8: error: 'pair' was not declared in this scope main.cpp:5:8: error: 'pair' was not declared in this scope main.cpp:5:8: error: 'pair' was not declared in this scope main.cpp:5:8: error: 'pair' was not declared in this scope main.cpp:5:8: error: 'pair' was not declared in this scope main.cpp:5:8: error: 'pair' was not declared in this scope main.cpp:5:8: error: 'pair' was not declared in this scope main.cpp:5:1: error: 'vector' does not name a type 5 | vector<pair<int,int>> v; | ^~~~~~ main.cpp: In function 'int solve(int)': main.cpp:33:12: error: 'v' was not declared in this scope 33 | if(v[index].first > split_line) | ^ main.cpp:50:17: error: 'v' was not declared in this scope 50 | int x = v[index].first, y = v[index].second; | ^ main.cpp:53:42: error: 'y' was not declared in this scope; did you mean 'ny'? 53 | int nx = x + dx[i], ny = y + dy[i]; | ^ | ny main.cpp:62:30: error: 'y' was not declared in this scope 62 | m[x][y] = i; | ^ main.cpp: In function 'int rec(int)': main.cpp:72:21: error: 'v' was not declared in this scope 72 | if(index == v.size()) | ^ main.cpp:75:17: error: 'v' was not declared in this scope 75 | int x = v[index].first, y = v[index].second; | ^ main.cpp:78:42: error: 'y' was not declared in this scope; did you mean 'ny'? 78 | int nx = x + dx[i], ny = y + dy[i]; | ^ | ny main.cpp:87:30: error: 'y' was not declared in this scope 87 | m[x][y] = i; | ^ main.cpp: In function 'int main()': main.cpp:95:36: error: 'stdin' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?