triples.cpp:1:1: error: 'll' does not name a type
1 | ll count_triples(vi a)
| ^~
triples.cpp: In function 'void sub1_part1()':
triples.cpp:24:12: error: 'cin' was not declared in this scope
24 | int n; cin >> n;
| ^~~
triples.cpp:25:5: error: 'vi' was not declared in this scope
25 | vi a(n);
| ^~
triples.cpp:26:39: error: 'a' was not declared in this scope
26 | for(int i = 0; i < n; i++) cin >> a[i];
| ^
triples.cpp:27:5: error: 'cout' was not declared in this scope
27 | cout << count_triples(a) << endl;
| ^~~~
triples.cpp:27:27: error: 'a' was not declared in this scope
27 | cout << count_triples(a) << endl;
| ^
triples.cpp:27:13: error: 'count_triples' was not declared in this scope
27 | cout << count_triples(a) << endl;
| ^~~~~~~~~~~~~
triples.cpp:27:33: error: 'endl' was not declared in this scope
27 | cout << count_triples(a) << endl;
| ^~~~