Borderou de evaluare (job #1719339)

Utilizator lflorin29Florin Laiu lflorin29 Data 19 iunie 2016 13:32:20
Problema One Outs Status done
Runda Algoritmiada 2016 Runda 4 Seniori Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:50:31: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld", &Dist[i]); ^ user.cpp:55:56: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] for(int i = 1; i <= n; ++i) scanf("%lld", &Throw[i]); ^ user.cpp: In function ‘int pot(ll)’: user.cpp:87:14: warning: unused variable ‘ok’ [-Wunused-variable] bool ok = 0; ^ user.cpp: In function ‘void Read()’: user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("oneouts.in", "r", stdin); ^ user.cpp:48:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &need); ^ user.cpp:50:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &Dist[i]); ^ user.cpp:55:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n; ++i) scanf("%lld", &Throw[i]); ^ user.cpp: In function ‘int main()’: user.cpp:111:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("oneouts.out", "w", stdout); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbOK10
20ms460kbIncorect0
3132ms480kbIncorect0
4988ms484kbIncorect0
5Depăşit576kbTime limit exceeded.0
6Depăşit572kbTime limit exceeded.0
7Depăşit1668kbTime limit exceeded.0
8Depăşit1752kbTime limit exceeded.0
9Depăşit1828kbTime limit exceeded.0
10Depăşit1980kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?