Borderou de evaluare (job #1682862)
Utilizator | Data | 10 aprilie 2016 13:15:23 | |
---|---|---|---|
Problema | Numerologie | Status | done |
Runda | Algoritmiada 2016 Runda 3 Seniori | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:17:1: error: ‘I64’ does not name a type
I64 cs[12], pr[12], Cost = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:38:15: error: ‘cs’ was not declared in this scope
in >> cs[i];
^
user.cpp:39:28: error: ‘Cost’ was not declared in this scope
if( cs[i] != -1 ) Cost += cs[i]; /// Costul worst case
^
user.cpp:46:9: error: ‘I64’ was not declared in this scope
I64 Lcost = 0;
^
user.cpp:46:13: error: expected ‘;’ before ‘Lcost’
I64 Lcost = 0;
^
user.cpp:49:17: error: ‘Lcost’ was not declared in this scope
Lcost += cs[ prs[j] ];
^
user.cpp:49:26: error: ‘cs’ was not declared in this scope
Lcost += cs[ prs[j] ];
^
user.cpp:63:17: error: ‘Lcost’ was not declared in this scope
Lcost += cs[ fiv[i] ];
^
user.cpp:63:26: error: ‘cs’ was not declared in this scope
Lcost += cs[ fiv[i] ];
^
user.cpp:69:13: error: ‘Cost’ was not declared in this scope
Cost = min( Cost, Lcost );
^
user.cpp:69:31: error: ‘Lcost’ was not declared in this scope
Cost = min( Cost, Lcost );
^
user.cpp:72:12: error: ‘Cost’ was not declared in this scope
out << Cost << '\n';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !