-
Notifications
You must be signed in to change notification settings - Fork 0
/
practice.cpp
44 lines (37 loc) · 830 Bytes
/
practice.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#include <bits/stdc++.h>
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <queue>
#include <unordered_map>
#include <map>
#include <unordered_set>
#include <set>
#include <sstream>
using namespace std;
int main()
{
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
int max_green = 13, max_red = 12, max_blue = 14;
int total_game_id = 0;
string input_line;
while (getline(cin, input_line))
{
stringstream ss(input_line);
string game, game_id, set_info;
int red, green, blue;
getline(ss, game, ' ');
getline(ss, game_id, ':');
while (getline(ss, set_info, ';'))
{
}
}
return 0;
}