Borderou de evaluare (job #1752122)

Utilizator atatomirTatomir Alex atatomir Data 2 septembrie 2016 20:14:06
Problema Kdist Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:64:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < list[node].size(); i++) { ^ user.cpp: In function ‘long long int brute(std::vector<int>&)’: user.cpp:94:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < pos.size(); i++) ^ user.cpp:95:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = i + 1; j < pos.size(); j++) ^ user.cpp: In function ‘int main()’: user.cpp:103:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kdist.in","r",stdin); ^ user.cpp:104:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kdist.out","w",stdout); ^ user.cpp:106:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:108:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ user.cpp:114:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &col[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms5172kbOK10
28ms5340kbOK10
336ms8384kbOK10
4Depăşit8376kbTime limit exceeded.0
5Depăşit26644kbTime limit exceeded.0
6Depăşit35076kbTime limit exceeded.0
7Depăşit63456kbTime limit exceeded.0
8Depăşit67296kbTime limit exceeded.0
9Depăşit82584kbTime limit exceeded.0
10Depăşit82584kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?