Borderou de evaluare (job #1752138)

Utilizator atatomirTatomir Alex atatomir Data 2 septembrie 2016 20:29:52
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:71: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:101:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < pos.size(); i++) ^ user.cpp:102: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:152:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (wh[i].size() <= limit) ^ user.cpp:128: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:129: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:131: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:133: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:139: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
28ms5320kbOK10
332ms8372kbOK10
424ms8368kbOK10
5252ms26632kbOK10
6408ms35064kbOK10
7Depăşit63444kbTime limit exceeded.0
8696ms67292kbOK10
9Depăşit82572kbTime limit exceeded.0
10Depăşit82580kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?