Borderou de evaluare (job #1703520)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 17 mai 2016 02:00:37
Problema Numar4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void impa(int, int)’: user.cpp:23:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int a=0;a<na.size();a++) ^ user.cpp: In function ‘void impb(int, int)’: user.cpp:36:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int a=0;a<nb.size();a++) ^ user.cpp: In function ‘int main()’: user.cpp:46:7: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(x==0&sa.size()==0) ^ user.cpp:68:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int a=0;a<sa.size();a++) ^ user.cpp:70:10: error: unable to find string literal operator ‘operator"" sb’ printf("\n%d\n"sb.size()); ^ user.cpp:71:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int a=0;a<sb.size();a++) ^ user.cpp:42:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&j); ^ user.cpp:43:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&j); ^

Ceva nu functioneaza?