Borderou de evaluare (job #2526585)

Utilizator MortemPlaiasu Iulia-Silvia Mortem Data 18 ianuarie 2020 20:39:13
Problema Armonica Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 35

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:118:10: warning: variable 'cool' set but not used [-Wunused-but-set-variable] bool cool=0; ^~~~ main.cpp:163:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<long long int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n",rez.size()/2); ^ main.cpp:164:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<rez.size();i++) ~^~~~~~~~~~~ main.cpp:80:7: warning: unused variable 'pos' [-Wunused-variable] int pos=0; ^~~ main.cpp:57:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("armonica.in","r",stdin); ^ main.cpp:58:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("armonica.out","w",stdout); ^ main.cpp:59:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&b); ^ main.cpp: In function 'void factorise(int)': main.cpp:42:12: warning: array subscript is above array bounds [-Warray-bounds] ind[a]=countt; ~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
190ms7208kbCorect!5
2424ms7208kbCorect!5
31003ms7208kbTime limit exceeded0
41005ms7208kbTime limit exceeded0
5113ms7208kbCorect!5
61003ms7208kbTime limit exceeded0
71002ms7213kbTime limit exceeded0
81006ms7208kbTime limit exceeded0
91003ms7208kbTime limit exceeded0
101003ms7208kbTime limit exceeded0
111003ms7208kbTime limit exceeded0
121000ms7208kbTime limit exceeded0
131003ms7208kbTime limit exceeded0
141000ms7208kbTime limit exceeded0
15134ms7208kbCorect!5
16237ms7208kbCorect!5
1729ms5767kbKilled by Signal 110
1829ms5767kbKilled by Signal 110
1940ms7208kbCorect! (Exemplu)10
Punctaj total35

Ceva nu functioneaza?