Borderou de evaluare (job #834942)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Rapper (clasa a 6-a) | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 6 oct. 2025 21:02:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:14:1: error: 'vector' does not name a type
14 | vector <string> v ( 10001 );
| ^~~~~~
main.cpp:15:1: error: 'vector' does not name a type
15 | vector <string> l1 ( 10002 );
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:79:17: error: 'v' was not declared in this scope
79 | v[forgor] = s;
| ^
main.cpp:86:24: error: 'v' was not declared in this scope
86 | sort ( v.begin(), v.begin()+forgor, cmp );
| ^
main.cpp:87:17: error: 'l1' was not declared in this scope
87 | l1[i+1] = v[0];
| ^~