Borderou de evaluare (job #1745119)

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

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:38: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ăşit412kbTime limit exceeded.0
2Depăşit416kbTime limit exceeded.0
3Depăşit416kbTime limit exceeded.0
40ms456kbOK10
5Depăşit428kbTime limit exceeded.0
6Depăşit428kbTime limit exceeded.0
716ms608kbIncorect0
8Depăşit568kbTime limit exceeded.0
9Depăşit760kbTime limit exceeded.0
10Depăşit768kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?