Borderou de evaluare (job #2669354)

Utilizator vansJos da pa perete vans Data 6 noiembrie 2020 19:55:45
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:35: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:35:41: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] main.cpp:35: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:32: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:33: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:34:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] gener(), scanf("%d", &TESTS); ^ main.cpp:35: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
18ms131kbIncorect00
215ms131kbIncorect00
3351ms131kbTime limit exceeded00
4352ms131kbTime limit exceeded0
5353ms131kbTime limit exceeded0
6351ms131kbTime limit exceeded00
7351ms131kbTime limit exceeded0
8350ms131kbTime limit exceeded0
9351ms131kbTime limit exceeded00
10352ms131kbTime limit exceeded0
11351ms131kbTime limit exceeded0
12351ms131kbTime limit exceeded0
13351ms131kbTime limit exceeded00
14352ms131kbTime limit exceeded0
15351ms131kbTime limit exceeded0
16352ms131kbTime limit exceeded0
17351ms131kbTime limit exceeded0
18352ms131kbTime limit exceeded0
19351ms131kbTime limit exceeded0
20352ms131kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?