Borderou de evaluare (job #1478852)

Utilizator deliricnagisa deliric Data 29 august 2015 18:13:14
Problema Pariuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",nr); ^ user.cpp:24:54: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] for(i=1;i<=nr;++i) printf("%ld %ld ",v[i],W[v[i]]); ^ user.cpp:24:54: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘std::map<int, int>::mapped_type {aka int}’ [-Wformat=] user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pariuri.in","r",stdin); ^ user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pariuri.out","w",stdout); ^ user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:18:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&t,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms296kbOK!10
276ms420kbOK!10
3252ms688kbOK!10
4352ms816kbOK!10
5688ms1232kbOK!10
61256ms1788kbOK!10
71432ms1960kbOK!10
81636ms2108kbOK!10
9Depăşit2776kbTime limit exceeded.0
10Depăşit3048kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?