Pagini recente » Borderou de evaluare (job #881828) | Borderou de evaluare (job #1852070) | Borderou de evaluare (job #343373) | Borderou de evaluare (job #1148296) | Borderou de evaluare (job #2483325)
Borderou de evaluare (job #2483325)
Raport evaluator
Compilare:
main.cpp: In function 'void solve_test()':
main.cpp:29:56: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%d %d %d %d %d %d", &n, &a, &b, &x, &q, &ask);
^
main.cpp:29:56: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
main.cpp:29:56: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll* {aka long long int*}' [-Wformat=]
main.cpp:29:56: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'll* {aka long long int*}' [-Wformat=]
main.cpp:29:56: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'll* {aka long long int*}' [-Wformat=]
main.cpp:29:56: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'll* {aka long long int*}' [-Wformat=]
main.cpp:29:57: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d", &n, &a, &b, &x, &q, &ask);
^
main.cpp: In function 'int main()':
main.cpp:78:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("input", "r", stdin);
^
main.cpp:79:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("output", "w", stdout);
^
main.cpp:81:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
files(FILENAME);
^
main.cpp:81:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp: In function 'void solve_test()':
main.cpp:61:32: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized]
c = slay[id].second, i = slay[id].first;
~~^~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 775ms | 4325kb | Incorect | 0 |
Punctaj total | 0 |