Borderou de evaluare (job #2671396)

Utilizator vansJos da pa perete vans Data 12 noiembrie 2020 00:11:53
Problema Asi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:36:41: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] while(TESTS--) scanf("%d %d", &a, &b), printf("%d ", calc(b) - calc(a - 1)); ^ main.cpp:36:41: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] main.cpp:36:79: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=] while(TESTS--) scanf("%d %d", &a, &b), printf("%d ", calc(b) - calc(a - 1)); ^ main.cpp:33:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("asi.in", "r", stdin); ^ main.cpp:34:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("asi.out", "w", stdout); ^ main.cpp:35:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] gener(), scanf("%d", &TESTS); ^ main.cpp:36:80: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] while(TESTS--) scanf("%d %d", &a, &b), printf("%d ", calc(b) - calc(a - 1)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
17ms262kbIncorect00
29ms262kbIncorect00
3351ms262kbTime limit exceeded00
4352ms262kbTime limit exceeded0
5351ms262kbTime limit exceeded0
6352ms262kbTime limit exceeded00
7351ms393kbTime limit exceeded0
8353ms393kbTime limit exceeded0
9351ms262kbTime limit exceeded00
10352ms262kbTime limit exceeded0
11352ms262kbTime limit exceeded0
12350ms262kbTime limit exceeded0
13352ms262kbTime limit exceeded00
14351ms262kbTime limit exceeded0
15350ms262kbTime limit exceeded0
16352ms262kbTime limit exceeded0
17352ms262kbTime limit exceeded0
18350ms262kbTime limit exceeded0
19352ms262kbTime limit exceeded0
20351ms262kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?