Borderou de evaluare (job #1928358)
Utilizator | Data | 16 martie 2017 09:03:17 | |
---|---|---|---|
Problema | Caps | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:39: error: size of array ‘n’ is too large
long q , k , n[1000000000000000000], contor;
^
user.cpp:40:12: error: ‘n’ was not declared in this scope
f>>n[i];
^
user.cpp:47:15: error: ‘n’ was not declared in this scope
while(n[i] > k) {
^
user.cpp:51:29: error: ‘n’ was not declared in this scope
for(int j = 1; j <= n[i];j++){
^
user.cpp:55:12: error: ‘n’ was not declared in this scope
g<<sir[n[i]]<<" "<<contor<<endl;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !