Borderou de evaluare (job #2251167)
Utilizator | Data | 1 octombrie 2018 10:55:42 | |
---|---|---|---|
Problema | Avarcolaci | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:18: error: size of array ‘ap’ is too large
int ap[1000000001];
^
user.cpp: In function ‘int main()’:
user.cpp:14:25: error: ‘ap’ was not declared in this scope
ap[x]++;
^~
user.cpp:18:28: error: ‘ap’ was not declared in this scope
if(ap[k]>maxi){
^~
user.cpp:26:47: error: ‘ap’ was not declared in this scope
for(int k=0;k<=1000000001;k++)ap[k]=0;
^~
user.cpp:8:25: warning: unused variable ‘k’ [-Wunused-variable]
int n,t,i,j,x,p,k;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !