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