Borderou de evaluare (job #1752133)

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

Raport evaluator

Compilare: user.cpp: In function ‘void adjust_limit()’: user.cpp:80:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < aux.size(); i++) { ^ user.cpp: In function ‘void dfs(int)’: user.cpp:92: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:122:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < pos.size(); i++) ^ user.cpp:123: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:174:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (wh[i].size() <= limit) ^ user.cpp:149: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:150: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:152: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:154: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:160: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
18ms5168kbOK10
28ms5324kbOK10
332ms8372kbOK10
424ms8368kbOK10
5248ms26632kbOK10
6412ms35064kbOK10
7Depăşit63444kbTime limit exceeded.0
8Depăşit67284kbTime limit exceeded.0
9Depăşit82572kbTime limit exceeded.0
10Depăşit82576kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?