Borderou de evaluare (job #1292399)

Utilizator Emil64Emil Centiu Emil64 Data 14 decembrie 2014 11:53:42
Problema Coduri 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:47:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(itf[poz]!=',' && poz<strlen(itf)) ^ user.cpp:53:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(itf[poz]!='(' && poz<strlen(itf)) ^ user.cpp:62:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(itf[poz]!=')'&& poz<strlen(itf)) ^ user.cpp:96:10: error: incompatible types in assignment of ‘int’ to ‘int [10000]’ p=0; ^ user.cpp:97:38: error: ‘struct main()::rec’ has no member named ‘nn’ for(j=min;v[i].nr!=1 || v[i].nn!=1 ;j++) ^ user.cpp:99:14: error: incompatible types in assignment of ‘int’ to ‘int [10000]’ p=0; ^ user.cpp:100:19: error: expected primary-expression before ‘)’ token while() ^ user.cpp:101:9: error: expected primary-expression before ‘}’ token } ^ user.cpp:101:9: error: expected ‘;’ before ‘}’ token user.cpp:36:11: warning: unused variable ‘inc’ [-Wunused-variable] int n,inc; ^ user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("coduri.in","r",stdin); ^ user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("coduri.out","w",stdout); ^ user.cpp:38:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:43:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",itf); ^

Ceva nu functioneaza?