Borderou de evaluare (job #596844)

Utilizator avatar Dumitru_Andrei Dumitru Andrei Denis Dumitru_Andrei IP ascuns
Problemă Puteri Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 apr. 2021 22:44:27 Scor 9

Raport evaluator

Compilare: main.cpp: In function 'int block(long int)': main.cpp:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 27 | for (int i = 0; i < v.size(); i++) | ~~^~~~~~~~~~ main.cpp:35:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 35 | for(int i = 0; i < ans.size(); ++i) | ~~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:73:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for(int i = 1; i <= aux.size(); ++i) | ~~^~~~~~~~~~~~~ main.cpp:47:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | freopen("puteri.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:48:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | freopen("puteri.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb primul corect, al doilea gresit 3
2 1 ms 262 kb primul corect, al doilea gresit 3
3 1 ms 262 kb primul corect, al doilea gresit 3
4 12 ms 524 kb Memory limit exceeded 0
5 1 ms 524 kb Memory limit exceeded 0
6 1 ms 1961 kb Memory limit exceeded 0
7 1 ms 2097 kb Memory limit exceeded 0
8 1 ms 262 kb Killed by Signal 11 0
9 1 ms 262 kb Killed by Signal 11 0
10 1 ms 262 kb Killed by Signal 11 0
Punctaj total 9