Borderou de evaluare (job #1895951)

Utilizator BourucLiviuBouruc Petru Liviu BourucLiviu Data 28 februarie 2017 12:33:46
Problema Secvente3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:43:45: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld %lld", &v[i].st, &v[i].s); ^ user.cpp:65:56: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] for(int i =1 ; i <= m; ++i) printf("%lld ", v[i].dr); ^ user.cpp:37:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvente3.in", "r", stdin); ^ user.cpp:38:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvente3.out", "w", stdout); ^ user.cpp:40:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld %lld %lld", &a, &b, &p, &m); ^ user.cpp:43:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld", &v[i].st, &v[i].s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
20ms292kbOK10
34ms292kbOK10
424ms292kbOK10
5224ms388kbOK10
6264ms428kbOK10
744ms480kbOK10
872ms480kbOK10
9Depăşit456kbTime limit exceeded.0
10Depăşit460kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?