Borderou de evaluare (job #2643005)

Utilizator balantudor478Balan Tudor Cristian balantudor478 Data 18 august 2020 11:17:11
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void scan()': main.cpp:7:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=] # define in(n) scanf("%d", &n) ^ main.cpp:46:9: note: in expansion of macro 'in' in(taskCode), in(a), in(b); ^~ main.cpp: In function 'int main()': main.cpp:20:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("arbint.in", "r", stdin); ^ main.cpp:21:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("arbint.out", "w", stdout); ^ main.cpp: In function 'void scan()': main.cpp:30:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] in(N), in(M); ^ main.cpp:30:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] main.cpp:40:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] in(var); ^ main.cpp:46:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] in(taskCode), in(a), in(b); ^ main.cpp:46:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] main.cpp:46:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms131kbOK1010
214ms131kbOK1010
320ms131kbOK1010
455ms393kbOK1010
5103ms1310kbOK1010
6127ms1310kbOK1050
7246ms1966kbOK10
8217ms1572kbOK10
9225ms1572kbOK10
10253ms1572kbOK10
Punctaj total100

Ceva nu functioneaza?