Borderou de evaluare (job #2669361)

Utilizator vansJos da pa perete vans Data 6 noiembrie 2020 20:06:33
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
18ms262kbIncorect00
29ms262kbIncorect00
3352ms262kbTime limit exceeded00
4353ms262kbTime limit exceeded0
5351ms262kbTime limit exceeded0
6350ms393kbTime limit exceeded00
7351ms421kbTime limit exceeded0
8353ms262kbTime limit exceeded0
9353ms262kbTime limit exceeded00
10353ms262kbTime limit exceeded0
11350ms262kbTime limit exceeded0
12350ms262kbTime limit exceeded0
13351ms262kbTime limit exceeded00
14352ms262kbTime limit exceeded0
15351ms262kbTime limit exceeded0
16351ms262kbTime limit exceeded0
17352ms262kbTime limit exceeded0
18353ms262kbTime limit exceeded0
19351ms262kbTime limit exceeded0
20351ms262kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?