| Problem | sixandseven |
|---|---|
| User | Hihihihihi |
| Submission Time | 2026-06-26 14:16:14 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sixandseven.cpp: In function ‘int main()’:
sixandseven.cpp:8:9: error: conflicting declaration ‘std::string n’
8 | string n;
| ^
sixandseven.cpp:6:6: note: previous declaration as ‘long long int n’
6 | int n;
| ^
sixandseven.cpp:10:9: error: invalid types ‘long long int[long long int]’ for array subscript
10 | if (n[i]=="6" and n[i]+1=="7") {
| ^
sixandseven.cpp:10:23: error: invalid types ‘long long int[long long int]’ for array subscript
10 | if (n[i]=="6" and n[i]+1=="7") {
| ^