0_0_30352625_5512.cpp: In function 'int main()':
0_0_30352625_5512.cpp:4:16: error: 'scanf' was not declared in this scope
scanf("%d", &T);
^
0_0_30352625_5512.cpp:7:3: error: 'll' was not declared in this scope
ll V;
^
0_0_30352625_5512.cpp:8:3: error: 'cin' was not declared in this scope
cin >> V;
^
0_0_30352625_5512.cpp:8:10: error: 'V' was not declared in this scope
cin >> V;
^
0_0_30352625_5512.cpp:9:6: error: expected ';' before 'sum'
ll sum = 0;
^
0_0_30352625_5512.cpp:10:6: error: expected ';' before 'temp'
ll temp = V;
^
0_0_30352625_5512.cpp:13:4: error: 'sum' was not declared in this scope
sum += V % 10;
^
0_0_30352625_5512.cpp:16:6: error: expected ';' before 'a'
ll a[10000];
^
0_0_30352625_5512.cpp:17:6: error: expected ';' before 'j'
ll j = 0;
^
0_0_30352625_5512.cpp:18:11: error: expected ';' before 'i'
for (ll i = 1; i <= sum; i++)
^
0_0_30352625_5512.cpp:18:18: error: 'i' was not declared in this scope
for (ll i = 1; i <= sum; i++)
^
0_0_30352625_5512.cpp:18:23: error: 'sum' was not declared in this scope
for (ll i = 1; i <= sum; i++)
^
0_0_30352625_5512.cpp:21:10: error: 'temp' was not declared in this scope
if ((temp%i) == 0)
^
0_0_30352625_5512.cpp:23:6: error: 'a' was not declared in this scope
a[j] = i;
^
0_0_30352625_5512.cpp:23:8: error: 'j' was not declared in this scope
a[j] = i;
^
0_0_30352625_5512.cpp:27:3: error: 'cout' was not declared in this scope
cout << j << endl;
^
0_0_30352625_5512.cpp:27:11: error: 'j' was not declared in this scope
cout << j << endl;
^
0_0_30352625_5512.cpp:27:16: error: 'endl' was not declared in this scope
cout << j << endl;
^
0_0_30352625_5512.cpp:30:12: error: 'a' was not declared in this scope
cout << a[i];
^
|