Pagini recente » Borderou de evaluare (job #1266315) | Borderou de evaluare (job #2121582) | Borderou de evaluare (job #2579065) | Borderou de evaluare (job #102620) | Borderou de evaluare (job #1752132)
Borderou de evaluare (job #1752132)
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 |
1 | 8ms | 5168kb | OK | 10 |
2 | 8ms | 5328kb | OK | 10 |
3 | 32ms | 8372kb | OK | 10 |
4 | 24ms | 8372kb | OK | 10 |
5 | 252ms | 26636kb | OK | 10 |
6 | 408ms | 35068kb | OK | 10 |
7 | Depăşit | 63444kb | Time limit exceeded. | 0 |
8 | Depăşit | 67284kb | Time limit exceeded. | 0 |
9 | Depăşit | 82580kb | Time limit exceeded. | 0 |
10 | Depăşit | 82580kb | Time limit exceeded. | 0 |
Punctaj total | 60 |