Pagini recente » Borderou de evaluare (job #3265648) | Borderou de evaluare (job #1935316) | Borderou de evaluare (job #1351664) | Borderou de evaluare (job #20893) | Borderou de evaluare (job #1206190)
Borderou de evaluare (job #1206190)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int solveColor(int)’:
user.cpp:88:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < nodes_for_color[current_col].size(); ++i) {
^
user.cpp: In function ‘int main()’:
user.cpp:103:36: 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:104:38: 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:107: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:110:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &xx, &yy);
^
user.cpp:115: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 | 5028kb | OK | 10 |
2 | 8ms | 5176kb | OK | 10 |
3 | 24ms | 6800kb | OK | 10 |
4 | 24ms | 6932kb | OK | 10 |
5 | 136ms | 16556kb | OK | 10 |
6 | 192ms | 20968kb | OK | 10 |
7 | 408ms | 35840kb | OK | 10 |
8 | 456ms | 38188kb | OK | 10 |
9 | 568ms | 46784kb | OK | 10 |
10 | 568ms | 46772kb | OK | 10 |
Punctaj total | 100 |