Borderou de evaluare (job #2463581)

Utilizator UPBNuLLZUPB NuLLZ UPBNuLLZ Data 28 septembrie 2019 12:17:26
Problema Invinv Status done
Runda Romanian Collegiate Programming Contest 2019 Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:22: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int64_t* {aka long int*}' [-Wformat=] scanf ("%lld", &t); ^ main.cpp:15: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", &n, &k); ^ main.cpp:15:34: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int64_t* {aka long int*}' [-Wformat=] main.cpp:10:22: warning: unused variable 'delta' [-Wunused-variable] int64_t t, n, k, delta, p, r, i, j = 1; ^~~~~ main.cpp:10:29: warning: unused variable 'p' [-Wunused-variable] int64_t t, n, k, delta, p, r, i, j = 1; ^ main.cpp:10:35: warning: unused variable 'i' [-Wunused-variable] int64_t t, n, k, delta, p, r, i, j = 1; ^ main.cpp:10:38: warning: unused variable 'j' [-Wunused-variable] int64_t t, n, k, delta, p, r, i, j = 1; ^ main.cpp:7:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("invinv.in", "r", stdin); ^ main.cpp:8:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("invinv.out", "w", stdout); ^ main.cpp:12:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%lld", &t); ^ main.cpp:15:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld", &n, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1182ms2621kbOK100
Punctaj total100

Ceva nu functioneaza?