Borderou de evaluare (job #2286032)

Utilizator 24601Dan Ban 24601 Data 19 noiembrie 2018 18:50:54
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

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:75:33: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int64_t {aka long int}' [-Wformat=] printf("%lld\n", a - acc); ^ 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
120ms1433kbOK1010
221ms1433kbOK1010
321ms1433kbOK1010
424ms1433kbKilled by Signal 800
524ms1433kbKilled by Signal 800
620ms1433kbKilled by Signal 800
724ms1433kbKilled by Signal 800
824ms1433kbKilled by Signal 800
924ms1433kbKilled by Signal 80
1024ms1433kbKilled by Signal 80
Punctaj total30

Ceva nu functioneaza?