Pagini recente » Borderou de evaluare (job #132065) | Borderou de evaluare (job #2777960) | Borderou de evaluare (job #2777229) | Borderou de evaluare (job #3287584) | Borderou de evaluare (job #1206189)
Borderou de evaluare (job #1206189)
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 | 5032kb | Incorect | 0 |
2 | 8ms | 5172kb | Incorect | 0 |
3 | 24ms | 6796kb | Incorect | 0 |
4 | 24ms | 6936kb | Incorect | 0 |
5 | 136ms | 16556kb | Incorect | 0 |
6 | 192ms | 20972kb | Incorect | 0 |
7 | 412ms | 35840kb | Incorect | 0 |
8 | 460ms | 38188kb | Incorect | 0 |
9 | 572ms | 46780kb | Incorect | 0 |
10 | 564ms | 46768kb | Incorect | 0 |
Punctaj total | 0 |