Pagini recente » Cod sursa (job #6180) | Cod sursa (job #2325762) | Borderou de evaluare (job #3251381) | Monitorul de evaluare | Borderou de evaluare (job #2321308)
Borderou de evaluare (job #2321308)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:42:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < v[i].size() ; ++j){
~~^~~~~~~~~~~~~
main.cpp:60:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[nod].size() - 1 ; ++i){
~~^~~~~~~~~~~~~~~~~~~
main.cpp:61:21: warning: unused variable 'H1' [-Wunused-variable]
int H1 = H[v[nod][i]];
^~
main.cpp:62:21: warning: unused variable 'H2' [-Wunused-variable]
int H2 = H[v[nod][i + 1]];
^~
main.cpp:28:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("kdtree.in", "r", stdin);
^
main.cpp:29:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("kdtree.out", "w", stdout);
^
main.cpp:31:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:34:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 22ms | 9699kb | OK | 5 |
| 2 | 22ms | 9699kb | OK | 5 |
| 3 | 22ms | 9699kb | OK | 5 |
| 4 | 22ms | 9699kb | OK | 5 |
| 5 | 22ms | 9699kb | OK | 5 |
| 6 | 22ms | 9830kb | OK | 5 |
| 7 | 23ms | 9830kb | OK | 5 |
| 8 | 23ms | 9830kb | OK | 5 |
| 9 | 143ms | 14680kb | OK | 5 |
| 10 | 144ms | 14675kb | OK | 5 |
| 11 | 133ms | 14675kb | OK | 5 |
| 12 | 136ms | 14548kb | OK | 5 |
| 13 | 138ms | 14548kb | OK | 5 |
| 14 | 148ms | 14548kb | OK | 5 |
| 15 | 258ms | 20705kb | OK | 5 |
| 16 | 254ms | 21098kb | OK | 5 |
| 17 | 230ms | 21491kb | OK | 5 |
| 18 | 246ms | 21884kb | OK | 5 |
| 19 | 244ms | 22671kb | OK | 5 |
| 20 | 253ms | 23986kb | OK | 5 |
| Punctaj total | 100 |