Borderou de evaluare (job #2844259)

Utilizator vlad2009Vlad Tutunaru vlad2009 Data 4 februarie 2022 00:20:49
Problema Orase1 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:51:11: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] 51 | scanf("%d%d", &n, &k); | ~^ ~~ | | | | int* long long int* | %lld main.cpp:51:13: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] 51 | scanf("%d%d", &n, &k); | ~^ ~~ | | | | int* long long int* | %lld main.cpp:53:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] 53 | scanf("%d", &a[i]); | ~^ ~~~~~ | | | | | long long int* | int* | %lld main.cpp:56:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 56 | printf("%d %d", answer, count(answer, n)); | ~^ ~~~~~~ | | | | int long long int | %lld main.cpp:56:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 56 | printf("%d %d", answer, count(answer, n)); | ~^ ~~~~~~~~~~~~~~~~ | | | | int long long int | %lld main.cpp: In function 'long long int cb(long long int, long long int)': main.cpp:44:10: warning: 'sol' may be used uninitialized in this function [-Wmaybe-uninitialized] 44 | return sol; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms184kbOK1010
22ms184kbOK1010
335ms1036kbOK1010
473ms3534kbOK1010
5212ms5705kbOK1010
6246ms7806kbOK1010
7250ms7806kbTime limit exceeded00
8252ms7806kbTime limit exceeded0
9252ms7806kbTime limit exceeded0
102ms184kbOK1010
Punctaj total70

Ceva nu functioneaza?