Borderou de evaluare (job #1724297)
Utilizator | Data | 2 iulie 2016 19:20:50 | |
---|---|---|---|
Problema | Curse de cai | 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:59:22: error: incompatible types in assignment of ‘unsigned int’ to ‘int [1005]’
for(i=0;i<n;++i) v1=getInt();
^
user.cpp:60:22: error: incompatible types in assignment of ‘unsigned int’ to ‘int [1005]’
for(i=0;i<n;++i) v2=getInt();
^
user.cpp:52:12: warning: unused variable ‘j’ [-Wunused-variable]
int t,n,i,j,res,resmax,x;
^
user.cpp: In function ‘unsigned int getInt()’:
user.cpp:33:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf,maxb,1,fin),ptr=0;
^
user.cpp:37:40: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf,maxb,1,fin),ptr=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !