Borderou de evaluare (job #1992860)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 21 iunie 2017 16:57:47
Problema Provocare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:57:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&n,&a,&b); ^ user.cpp:57:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:57:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:51:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("provocare.in","r",stdin); ^ user.cpp:52:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("provocare.out","w",stdout); ^ user.cpp:53:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&t); ^ user.cpp:57:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK5
20ms448kbOK5
3152ms460kbOK5
4100ms456kbOK5
5Depăşit444kbTime limit exceeded.0
6Depăşit440kbTime limit exceeded.0
7Depăşit420kbTime limit exceeded.0
8Depăşit416kbTime limit exceeded.0
9Depăşit420kbTime limit exceeded.0
10Depăşit420kbTime limit exceeded.0
11Depăşit416kbTime limit exceeded.0
12Depăşit416kbTime limit exceeded.0
13Depăşit412kbTime limit exceeded.0
14Depăşit420kbTime limit exceeded.0
15Depăşit416kbTime limit exceeded.0
16Depăşit416kbTime limit exceeded.0
17Depăşit412kbTime limit exceeded.0
18Depăşit412kbTime limit exceeded.0
19Depăşit420kbTime limit exceeded.0
20Depăşit416kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?