Borderou de evaluare (job #1745120)

Utilizator wilson182Alexandrina Panfil wilson182 Data 21 august 2016 12:27:51
Problema Buget Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%d %d", &n, &b); ^ user.cpp:37:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", min-1); ^ user.cpp:17:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("buget.in", "r", stdin); ^ user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("buget.out", "w", stdout); ^ user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &b); ^ user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &p[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit420kbTime limit exceeded.0
2Depăşit420kbTime limit exceeded.0
3Depăşit416kbTime limit exceeded.0
4Depăşit416kbTime limit exceeded.0
50ms476kbIncorect0
6Depăşit436kbTime limit exceeded.0
7Depăşit572kbTime limit exceeded.0
8Depăşit572kbTime limit exceeded.0
9Depăşit768kbTime limit exceeded.0
1040ms808kbIncorect0
Punctaj total0

Ceva nu functioneaza?