Borderou de evaluare (job #2362591)

Utilizator akaprosAna Kapros akapros Data 3 martie 2019 11:14:45
Problema Tablou Status done
Runda Algoritmiada 2019 Runda PreOJI Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:59:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n", ans[1]); ^ main.cpp:63:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] if (ans[1] < 10) printf("00%d\n", ans[1]); ^ main.cpp:64:54: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] else if (ans[1] < 100) printf("0%d\n", ans[1]); ^ main.cpp:66:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n", ans[1]); ^ main.cpp:24:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &m); ^ main.cpp:27:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", a[i] + 1); ^ main.cpp:31:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ main.cpp:36:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d", &l1, &c1, &l2, &c2, &col); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms262kbOK10
27ms1703kbOK10
37ms1703kbOK10
4184ms45219kbOK10
5150ms45219kbOK10
6170ms45219kbOK10
7223ms13369kbOK10
8235ms13369kbOK10
9368ms47448kbOK10
10342ms47538kbOK10
Punctaj total100

Ceva nu functioneaza?