Borderou de evaluare (job #1490644)

Utilizator vladdy47Bucur Vlad Andrei vladdy47 Data 23 septembrie 2015 21:54:50
Problema Marbles Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:79: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:79:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:83: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:76: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:77: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:79: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:83: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:93: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
44ms2016kbOK10
548ms4232kbOK10
6172ms7008kbOK10
7Depăşit9140kbTime limit exceeded.0
8Depăşit4236kbTime limit exceeded.0
9Depăşit3824kbTime limit exceeded.0
10Depăşit3824kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?