Borderou de evaluare (job #796886)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gadfadăr (clasa 6-7) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 23 nov. 2024 12:19:40 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:32:25: error: conversion from 'std::pair<const std::__cxx11::basic_string<char>, bool>' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
32 | for (string nume : intrusi) fout<<intrus.first<<'\n';
| ^~~~~~~
main.cpp:32:40: error: 'intrus' was not declared in this scope; did you mean 'intrusi'?
32 | for (string nume : intrusi) fout<<intrus.first<<'\n';
| ^~~~~~
| intrusi