Borderou de evaluare (job #2286132)

Utilizator 24601Dan Ban 24601 Data 19 noiembrie 2018 20:51:27
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:60:34: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int64_t* {aka long int*}' [-Wformat=] scanf("%lld %lld", &a, &b); ^ main.cpp:60:34: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int64_t* {aka long int*}' [-Wformat=] main.cpp:87:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'int64_t {aka long int}' [-Wformat=] printf("%llu\n", a - acc); ^ main.cpp:89:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] fprintf(stderr, " %lld", it); ^ main.cpp:54:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pinex.in", "r", stdin); ^ main.cpp:55:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pinex.out", "w", stdout); ^ main.cpp:57:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:60:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
121ms1433kbIncorect00
222ms1433kbIncorect00
322ms1433kbIncorect00
4821ms1433kbOK1010
5869ms1433kbOK1010
61670ms1433kbOK1010
71142ms1433kbOK1010
81316ms1433kbIncorect00
91337ms1433kbIncorect0
101306ms1433kbIncorect0
Punctaj total40

Ceva nu functioneaza?