Borderou de evaluare (job #1719002)

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

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:44:31: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld", &Dist[i]); ^ user.cpp:48: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:38: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:40: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:44:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &Dist[i]); ^ user.cpp:48: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:98: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
10ms468kbOK10
20ms468kbOK10
3Depăşit460kbTime limit exceeded.0
4Depăşit472kbTime limit exceeded.0
5Depăşit752kbTime limit exceeded.0
6Depăşit752kbTime limit exceeded.0
7Depăşit3016kbTime limit exceeded.0
8Depăşit3112kbTime limit exceeded.0
9Depăşit3212kbTime limit exceeded.0
10Depăşit3392kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?