Borderou de evaluare (job #2001513)
Utilizator | Data | 16 iulie 2017 22:58:35 | |
---|---|---|---|
Problema | Aiacucmmdc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:41: error: size of array ‘a’ is too large
unsigned long long p,total,a[20000000008],l,n;
^
user.cpp: In function ‘int main()’:
user.cpp:11:43: error: ‘a’ was not declared in this scope
for(unsigned long long i=1;i<=n;i++)cin>>a[i];
^
user.cpp:19:11: error: ‘a’ was not declared in this scope
if(a[j]%p==0)l++;
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aiacucmmdc.in","r",stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aiacucmmdc.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !