Pagini recente » Borderou de evaluare (job #805381) | Borderou de evaluare (job #2464290) | Borderou de evaluare (job #2239700) | Borderou de evaluare (job #777125) | Borderou de evaluare (job #2463581)
Borderou de evaluare (job #2463581)
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 |
1 | 182ms | 2621kb | OK | 100 |
Punctaj total | 100 |