-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathu-in
executable file
·28 lines (22 loc) · 1.16 KB
/
u-in
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
# vim:ft=sh nonu
# echo 1 2 3 4| scc 'vector<vint> C; cin >> C; C'
set -o errexit
set -v
echo abc | scc 'str C; cin >> C; C'
echo abc | scc 'char C[9]; cin >> C; C'
echo abc | scc 'str C = in; C'
echo 1 2 | scc 'vint C = in; C'
echo 1 2 3 4| scc 'vint C = in(2); C'
echo 1 2 3 4| scc 'vint C(2); cin >> C; C'
echo 1 2 3 4| scc 'vint C; cin >> C; C'
echo 1 2 | scc 'int C[2]; cin >> C; C'
echo 1 2.2 | scc 'pair<int,float> p; cin >> p; p'
echo 1 2 | scc 'tuple<int,int> C; cin >> C; C'
echo 1 2 | scc 'array<int,2> C; cin >> C; C'
echo 1 2 3 4| scc 'set<int> C = in; C'
echo 1 2 3 4| scc 'set<int> C = in(2); C'
echo 1 2 3 4| scc 'set<int> C; cin >> C; C'
echo 1 2 3 4| scc 'map<int,int> C; cin >> C; C'
echo 1 2 3 4| scc 'map<int,int> C = in(1); C'
echo 1 2 3 4| scc 'map<int,int> C = in; C'
: '- - - - - - - - - - - - - - - - - - - - - - - - U-IN passed - - - - - - - - - - - - - - - - - - - - - - - - -'