Borderou de evaluare (job #2676426)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 24 noiembrie 2020 11:24:15
Problema Permsort2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:36:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", swaps.size()); ^ main.cpp:21:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("permsort2.in", "r", stdin); ^ main.cpp:22:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("permsort2.out", "w", stdout); ^ main.cpp:24:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:26:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK10
2500ms524kbTime limit exceeded0
3503ms655kbTime limit exceeded0
4503ms524kbTime limit exceeded0
5503ms524kbTime limit exceeded0
6500ms524kbTime limit exceeded0
7502ms917kbTime limit exceeded0
8500ms917kbTime limit exceeded0
9503ms917kbTime limit exceeded0
102ms131kbOK10
Punctaj total20

Ceva nu functioneaza?