Home
Volumes
Contests
Sections
Forums
Users
Print
Help
About
Forums
>
Discussion of problems
> topic:
Problem "50286 - Remove Duplicates"
There is a contest!
В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.
imesecan
July.09.2015 at 01:41:10 PM
0
-- Test 1 ---
5
1007; camembert; 3983; 1517.67;
1018; fontina; 501; 1981;
1006; brie; 2451.25; 5924;
1006; brie; 2451.25; 5924;
1009; cheddar; 3465; 699.5;
--- Pattern ---
1006 brie 2451.25 5924
1007 camembert 3983 1517.67
1009 cheddar 3465 699.5
1018 fontina 501 1981
egjevori15
Dec.20.2015 at 01:43:52 PM
1
Сообщение скрыто
imesecan
Dec.20.2015 at 03:16:49 PM
2
use getline function
www.cplusplus.com/reference/string/string/getline/
with delimiter
getline(std::cin, str, ';');
Here is another page
www.cplusplus.com/forum/beginner/49415/
www.contester.ru