Borderou de evaluare (job #1793247)
Utilizator | Data | 30 octombrie 2016 20:47:41 | |
---|---|---|---|
Problema | Muzeu | Status | done |
Runda | selectie_emag_mediu_2016_runda2 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:37:12: error: stray ‘\342’ in program
a◦=-2;
^
user.cpp:37:12: error: stray ‘\227’ in program
user.cpp:37:12: error: stray ‘\246’ in program
user.cpp: In function ‘int main()’:
user.cpp:24:21: error: incompatible types in assignment of ‘int’ to ‘int [260]’
a[j]=0;
^
user.cpp:27:21: error: incompatible types in assignment of ‘int’ to ‘int [260]’
a[j]=-2;
^
user.cpp:30:21: error: incompatible types in assignment of ‘int’ to ‘int [260]’
a[j]=-1;
^
user.cpp:37:16: error: incompatible types in assignment of ‘int’ to ‘int [260][260]’
a◦=-2;
^
user.cpp:38:18: error: incompatible types in assignment of ‘int’ to ‘int [260]’
a[n+1]=-2;
^
user.cpp:39:16: error: incompatible types in assignment of ‘int’ to ‘int [260]’
a[0]=-2;
^
user.cpp:40:18: error: incompatible types in assignment of ‘int’ to ‘int [260]’
a[n+1]=-2;
^
user.cpp:45:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(a[j]==-1)
^
user.cpp:82:23: error: request for member ‘ls’ in ‘coada’, which is of non-class type ‘pct [260]’
coada.ls=coada.ld=coada.d=0;
^
user.cpp:82:32: error: request for member ‘ld’ in ‘coada’, which is of non-class type ‘pct [260]’
coada.ls=coada.ld=coada.d=0;
^
user.cpp:82:41: error: request for member ‘d’ in ‘coada’, which is of non-class type ‘pct [260]’
coada.ls=coada.ld=coada.d=0;
^
user.cpp:91:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(a[j]==-1)
^
user.cpp:94:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int*’ [-Wformat=]
fprintf(g,"%d ",a[j]);
^
user.cpp:18:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:22:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&c);
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !