0_0_14721143_22912.cpp: In function 'int main()':
0_0_14721143_22912.cpp:7:18: error: conflicting declaration 'long long int a [100]'
__int64 a[100], s;
^
0_0_14721143_22912.cpp:6:13: note: previous declaration as 'long long int a'
__int64 a, b, i, p;
^
0_0_14721143_22912.cpp:11:12: error: invalid types 'long long int[int]' for array subscript
a[1] = a % 10;
^
0_0_14721143_22912.cpp:15:16: error: invalid types 'long long int[long long int]' for array subscript
a[i] = a[i - 1] * a % 10;
^
0_0_14721143_22912.cpp:15:27: error: invalid types 'long long int[long long int]' for array subscript
a[i] = a[i - 1] * a % 10;
^
0_0_14721143_22912.cpp:17:19: error: invalid types 'long long int[long long int]' for array subscript
if(a[i] == a[1])
^
0_0_14721143_22912.cpp:17:27: error: invalid types 'long long int[int]' for array subscript
if(a[i] == a[1])
^
0_0_14721143_22912.cpp:23:38: error: invalid types 'long long int[long long int]' for array subscript
printf("%I64d\n", a[s]);
^
0_0_14721143_22912.cpp:28:34: error: invalid types 'long long int[long long int]' for array subscript
printf("%I64d\n", a[i - 1]);
^
|