Borderou de evaluare (job #2124224)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 7 februarie 2018 00:22:27
Problema Arbore3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%lld",&x,&w[i]); ^ user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbore3.in","r",stdin); ^ user.cpp:29:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbore3.out","w",stdout); ^ user.cpp:31:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ user.cpp:33:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&s); ^ user.cpp:38:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%lld",&x,&w[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms16224kbIncorect0
212ms16264kbIncorect0
376ms19880kbIncorect0
4708ms31868kbIncorect0
51332ms49972kbIncorect0
6Depăşit55072kbTime limit exceeded.0
7Depăşit54472kbTime limit exceeded.0
8Depăşit54556kbTime limit exceeded.0
9Depăşit56132kbTime limit exceeded.0
10Depăşit55596kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?