Borderou de evaluare (job #1382665)

Utilizator ade_tomiEnache Adelina ade_tomi Data 9 martie 2015 13:21:58
Problema Multimi2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",abs(s1-s2)); ^ user.cpp:36:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",sol1[0]); ^ user.cpp:38:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",sol1[i]); ^ user.cpp:39:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("\n%d\n",sol2[0]); ^ user.cpp:41:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",sol2[i]); ^ user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("multimi2.in","r",stdin); ^ user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("multimi2.out","w",stdout); ^ user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbFelicitarile lui Cash, ai raspuns corect10
20ms268kbFelicitarile lui Cash, ai raspuns corect10
30ms368kbFelicitarile lui Cash, ai raspuns corect10
424ms1068kbFelicitarile lui Cash, ai raspuns corect10
5152ms4956kbFelicitarile lui Cash, ai raspuns corect10
6180ms5736kbFelicitarile lui Cash, ai raspuns corect10
7204ms6516kbFelicitarile lui Cash, ai raspuns corect10
8220ms7296kbFelicitarile lui Cash, ai raspuns corect10
9256ms8080kbFelicitarile lui Cash, ai raspuns corect10
100ms260kbFelicitarile lui Cash, ai raspuns corect10
Punctaj total100

Ceva nu functioneaza?