Borderou de evaluare (job #1490649)

Utilizator vladdy47Bucur Vlad Andrei vladdy47 Data 23 septembrie 2015 22:01:05
Problema Marbles Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void ap()’: user.cpp:65:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^ user.cpp: In function ‘int main()’: user.cpp:77:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d\n", &n, &m); ^ user.cpp:77:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:81:55: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] scanf("%lld %lld\n", &A[i].first, &A[i].second); ^ user.cpp: In function ‘int cautbin(long long int)’: user.cpp:35:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:74:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("marbles.in","r",stdin); ^ user.cpp:75:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("marbles.out","w",stdout); ^ user.cpp:77:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:81:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld\n", &A[i].first, &A[i].second); ^ user.cpp:91:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld %lld\n",&T, &i, &j); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1484kbOK10
20ms1512kbOK10
30ms1796kbOK10
44ms2008kbOK10
512ms4196kbOK10
640ms6928kbOK10
764ms9668kbOK10
8136ms28800kbOK10
9112msDepăşitMemory limit exceeded.0
10140msDepăşitMemory limit exceeded.0
Punctaj total80

Ceva nu functioneaza?