Borderou de evaluare (job #1752127)

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

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:72: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:102:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < pos.size(); i++) ^ user.cpp:103: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:129: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:130: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:132: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:134: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:140: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
18ms5164kbOK10
28ms5324kbOK10
332ms8372kbOK10
424ms8376kbOK10
5252ms26636kbOK10
6412ms35068kbOK10
7Depăşit63444kbTime limit exceeded.0
8688ms67288kbOK10
9Depăşit82576kbTime limit exceeded.0
10Depăşit82580kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?