Borderou de evaluare (job #1992845)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 21 iunie 2017 16:36:55
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
10ms452kbOK5
20ms452kbOK5
3152ms456kbOK5
4104ms452kbOK5
5Depăşit444kbTime limit exceeded.0
6Depăşit436kbTime limit exceeded.0
7Depăşit412kbTime limit exceeded.0
8Depăşit412kbTime limit exceeded.0
9Depăşit420kbTime limit exceeded.0
10Depăşit412kbTime limit exceeded.0
11Depăşit416kbTime limit exceeded.0
12Depăşit416kbTime limit exceeded.0
13Depăşit412kbTime limit exceeded.0
14Depăşit412kbTime limit exceeded.0
15Depăşit412kbTime limit exceeded.0
16Depăşit412kbTime limit exceeded.0
17Depăşit416kbTime limit exceeded.0
18Depăşit416kbTime limit exceeded.0
19Depăşit412kbTime limit exceeded.0
20Depăşit412kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?