Pagini recente » Borderou de evaluare (job #1405821) | Borderou de evaluare (job #1785521) | Borderou de evaluare (job #799096) | Borderou de evaluare (job #1399061) | Borderou de evaluare (job #1752184)
Borderou de evaluare (job #1752184)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:80:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list[node].size(); i++) {
^
user.cpp: In function ‘void solve_color(int)’:
user.cpp:129:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < wh[cc].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:145: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:146: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:148: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:150: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:156: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 | 5160kb | OK | 10 |
2 | 8ms | 5336kb | OK | 10 |
3 | 28ms | 8444kb | OK | 10 |
4 | 28ms | 8664kb | OK | 10 |
5 | 160ms | 26820kb | OK | 10 |
6 | 220ms | 35368kb | OK | 10 |
7 | 460ms | 64504kb | OK | 10 |
8 | 524ms | 68348kb | OK | 10 |
9 | 640ms | 84172kb | OK | 10 |
10 | 636ms | 84180kb | OK | 10 |
Punctaj total | 100 |