Borderou de evaluare (job #783999)

Utilizator avatar marinaluc marina luca marinaluc IP ascuns
Problemă Permfix Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 17 aug. 2024 09:56:52 Scor 60

Raport evaluator

Compilare: main.cpp: In function 'void generateDerangements(int, std::vector<int>&, std::vector<bool>&, std::vector<std::vector<int> >&)': main.cpp:8:21: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 8 | if (perm.size() == n) { | ~~~~~~~~~~~~^~~~ main.cpp: In function 'int main()': main.cpp:38:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | freopen("permfix.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:39:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | freopen("permfix.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 245 kb OK 10
2 1 ms 507 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 9 ms 770 kb Memory limit exceeded 0
8 9 ms 774 kb Memory limit exceeded 0
9 19 ms 1032 kb Memory limit exceeded 0
10 19 ms 770 kb Memory limit exceeded 0
Punctaj total 60