Borderou de evaluare (job #2268609)

Utilizator memecoinMeme Coin memecoin Data 25 octombrie 2018 00:06:07
Problema Calatorie interplanetara Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:34:18: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int64_t* {aka long int*}' [-Wformat=] scanf("%lld", &n); ^ main.cpp:37:51: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int64_t* {aka long int*}' [-Wformat=] scanf("%lld %lld", &costNormal[i], &costSuper[i]); ^ main.cpp:37:51: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int64_t* {aka long int*}' [-Wformat=] main.cpp:40:47: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int64_t {aka long int}' [-Wformat=] printf("Consumul minim = %lld.\n", cost(n, 0)); ^ main.cpp:34:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &n); ^ main.cpp:37:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld", &costNormal[i], &costSuper[i]); ^ main.cpp: In function 'int main()': main.cpp:44:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("calatorie.in", "r", stdin); ^ main.cpp:45:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("calatorie.out", "w", stdout); ^ main.cpp:48:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
127ms393kbOK100
Punctaj total100

Ceva nu functioneaza?