Borderou de evaluare (job #2688757)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 20 decembrie 2020 13:22:04
Problema Triunghiuri Status done
Runda fmi-no-stress-10 Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void add()': main.cpp:25:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%d %d", &x, &y); ^ main.cpp:25:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] main.cpp: In function 'void del()': main.cpp:33:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%d %d", &x, &y); ^ main.cpp:33:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] main.cpp: In function 'int main()': main.cpp:56:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%d %d", &nn, &q); ^ main.cpp:56:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] main.cpp:64:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%d", &t); ^ main.cpp: In function 'void add()': main.cpp:25:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ main.cpp: In function 'void del()': main.cpp:33:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ main.cpp: In function 'int main()': main.cpp:51:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("triunghiuri.in", "r", stdin); ^ main.cpp:52:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("triunghiuri.out", "w", stdout); ^ main.cpp:56:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &nn, &q); ^ main.cpp:64:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1050
23ms131kbOK10
32ms131kbOK10
43ms131kbOK10
52ms131kbOK10
65ms131kbOK1050
711ms131kbOK10
815ms131kbOK10
921ms262kbOK10
1028ms262kbOK10
Punctaj total100

Ceva nu functioneaza?