Borderou de evaluare (job #1536552)

Utilizator gapdanPopescu George gapdan Data 26 noiembrie 2015 13:02:21
Problema Ecuatii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void add(long long int)’: user.cpp:31:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v[r].size(); ++i) ^ user.cpp:47:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v[r].size(); ++i) ^ user.cpp: In function ‘int find(int)’: user.cpp:69:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v[r].size(); ++i) ^ user.cpp:83:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v[r].size(); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:99:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d%d",&a1,&a2,&a3,&a4,&a5); ^ user.cpp:99:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:99:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:99:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:99:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:114:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",nr); ^ user.cpp: In function ‘int find(int)’: user.cpp:93:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:97:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("eqs.in","r",stdin); ^ user.cpp:98:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("eqs.out","w",stdout); ^ user.cpp:99:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d",&a1,&a2,&a3,&a4,&a5); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
156ms8240kbIncorect0
256ms8288kbIncorect0
356ms8256kbIncorect0
4132ms8236kbIncorect0
5132ms8236kbIncorect0
6132ms8256kbIncorect0
7136ms8288kbIncorect0
8128ms8288kbIncorect0
9132ms8204kbIncorect0
10124ms8292kbIncorect0
Punctaj total0

Ceva nu functioneaza?