Borderou de evaluare (job #2441518)
Utilizator | Data | 20 iulie 2019 16:33:47 | |
---|---|---|---|
Problema | Niciomare | Status | done |
Runda | Algoritmiada 2019 Runda Maraton | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:1: error: 'vector' does not name a type
vector<pair <int,int>> aint[4*DIMN];
^~~~~~
main.cpp: In function 'void build(int, int, int, int)':
main.cpp:35:5: error: 'aint' was not declared in this scope
aint[nod].clear();
^~~~
main.cpp: In function 'long long unsigned int max_value(int, int)':
main.cpp:76:25: error: 'aint' was not declared in this scope
if (mid>=1 && f[aint[nod][mid].first][aint[nod][mid].second].a * poz + f[aint[nod][mid].first][aint[nod][mid].second].b <= poz* f[aint[nod][mid-1].first][aint[nod][mid-1].second].a+ f[aint[nod][mid-1].first][aint[nod][mid-1].second].b)
^~~~
main.cpp:80:14: error: 'aint' was not declared in this scope
return f[aint[nod][dr].first][aint[nod][dr].second].a * poz + f[aint[nod][dr].first][aint[nod][dr].second].b;
^~~~
main.cpp: In function 'int main()':
main.cpp:119:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (j-1 && sum + v[j-1] <= s){
~~~~~~~~~~~~~^~~~
main.cpp:105:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,10000000,fin);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !