Borderou de evaluare (job #784002)

Utilizator avatar marinaluc marina luca marinaluc IP ascuns
Problemă Permfix Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 17 aug. 2024 10:02:35 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void generateDerangement(int, long long int, std::vector<int>&)': main.cpp:34:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 34 | for (int j = 0; j < elements.size(); ++j) { | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:54:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | freopen("permfix.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:55:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | freopen("permfix.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb Killed by Signal 8 0
2 1 ms 249 kb Killed by Signal 8 0
3 1 ms 249 kb Killed by Signal 8 0
4 1 ms 249 kb Killed by Signal 8 0
5 1 ms 512 kb Killed by Signal 8 0
6 2 ms 249 kb Killed by Signal 8 0
7 1 ms 249 kb Killed by Signal 8 0
8 1 ms 249 kb Killed by Signal 8 0
9 1 ms 249 kb Killed by Signal 8 0
10 1 ms 512 kb Killed by Signal 8 0
Punctaj total 0